Commit 22f21c4
Install the sbt bridge from a binary jar instead of from sources
Normally, the source of the sbt bridge is fetched from
scalaCompilerBridgeSource, compiled, then cached by sbt. Unfortunately
the logic in sbt to do this does not take .java source files into
account, so the previous commit broke our bridge.
Thankfully, it turns out that I have amazing foresight ;). In
sbt/sbt#4332 I added
scalaCompilerBridgeBinaryJar to sbt, which bypasses the whole
bridge compilation and caching logic which is not needed when the bridge
is Java-only and thus binary-compatible across Scala releases. So just
using this setting is enough to make everything work!1 parent aab1f18 commit 22f21c4
File tree
2 files changed
+25
-28
lines changed- project
- sbt-dotty/src/dotty/tools/sbtplugin
2 files changed
+25
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
240 | 232 | | |
241 | 233 | | |
242 | 234 | | |
| |||
830 | 822 | | |
831 | 823 | | |
832 | 824 | | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | 825 | | |
837 | | - | |
838 | | - | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
839 | 829 | | |
840 | 830 | | |
841 | 831 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
174 | 181 | | |
175 | 182 | | |
176 | 183 | | |
| |||
184 | 191 | | |
185 | 192 | | |
186 | 193 | | |
187 | | - | |
| 194 | + | |
188 | 195 | | |
189 | 196 | | |
190 | 197 | | |
| |||
229 | 236 | | |
230 | 237 | | |
231 | 238 | | |
232 | | - | |
233 | | - | |
| 239 | + | |
| 240 | + | |
234 | 241 | | |
235 | 242 | | |
236 | 243 | | |
237 | 244 | | |
238 | 245 | | |
239 | 246 | | |
240 | | - | |
| 247 | + | |
241 | 248 | | |
242 | 249 | | |
243 | 250 | | |
| |||
0 commit comments