Commit be8fe04
committed
Fix ATs causing IDEs to lose source jars
This was done by making the access transformer only target dependencies of type Usage: "library". Sources are of type Usage: "documentation".
This problem is two-fold:
1. Gradle would access transform the sources, but wouldn't select it as an auxiliary artifact for the IDE.
2. IntelliJ would look for the auxiliary artifact but can't find it due to the variant change from Gradle transforming the artifact.
This is a problem that would be fixed by gradle/gradle#35131. When it is, we can theoretically add support in AccessTransformers itself to transform `.java` files as well as `.class` files.1 parent ca32f2e commit be8fe04
File tree
1 file changed
+2
-1
lines changed- at-gradle/src/main/java/net/minecraftforge/accesstransformers/gradle
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
0 commit comments