|
1 | | -//file:noinspection DependencyNotationArgument |
2 | | -// TODO remove when fixed in RFG ^ |
3 | | -/* |
4 | | - * Add your dependencies here. Supported configurations: |
5 | | - * - api("group:name:version:classifier"): if you use the types from this dependency in the public API of this mod |
6 | | - * Available at runtime and compiletime for mods depending on this mod |
7 | | - * - implementation("g:n:v:c"): if you need this for internal implementation details of the mod, but none of it is visible via the public API |
8 | | - * Available at runtime but not compiletime for mods depending on this mod |
9 | | - * - compileOnly("g:n:v:c"): if the mod you're building doesn't need this dependency during runtime at all, e.g. for optional mods |
10 | | - * Not available at all for mods depending on this mod, only visible at compiletime for this mod |
11 | | - * - compileOnlyApi("g:n:v:c"): like compileOnly, but also visible at compiletime for mods depending on this mod |
12 | | - * Available at compiletime but not runtime for mods depending on this mod |
13 | | - * - runtimeOnlyNonPublishable("g:n:v:c"): if you want to include a mod in this mod's runClient/runServer runs, but not publish it as a dependency |
14 | | - * Not available at all for mods depending on this mod, only visible at runtime for this mod |
15 | | - * - devOnlyNonPublishable("g:n:v:c"): a combination of runtimeOnlyNonPublishable and compileOnly for dependencies present at both compiletime and runtime, |
16 | | - * but not published as Maven dependencies - useful for RFG-deobfuscated dependencies or local testing |
17 | | - * - runtimeOnly("g:n:v:c"): if you don't need this at compile time, but want it to be present at runtime |
18 | | - * Available at runtime for mods depending on this mod |
19 | | - * - annotationProcessor("g:n:v:c"): mostly for java compiler plugins, if you know you need this, use it, otherwise don't worry |
20 | | - * - testCONFIG("g:n:v:c") - replace CONFIG by one of the above (except api), same as above but for the test sources instead of main |
21 | | - * |
22 | | - * - shadowImplementation("g:n:v:c"): effectively the same as API, but the dependency is included in your jar under a renamed package name |
23 | | - * Requires you to enable usesShadowedDependencies in gradle.properties |
24 | | - * For more info, see https://github.com/GregTechCEu/Buildscripts/blob/master/docs/shadow.md |
25 | | - * |
26 | | - * You can exclude transitive dependencies (dependencies of the chosen dependency) by appending { transitive = false } if needed, |
27 | | - * but use this sparingly as it can break using your mod as another mod's dependency if you're not careful. |
28 | | - * |
29 | | - * To depend on obfuscated jars you can use `devOnlyNonPublishable(rfg.deobf("dep:spec:1.2.3"))` to fetch an obfuscated jar from maven, |
30 | | - * or `devOnlyNonPublishable(rfg.deobf(project.files("libs/my-mod-jar.jar")))` to use a file. |
31 | | - * |
32 | | - * To add a mod with CurseMaven, replace '("g:n:v:c")' in the above with 'rfg.deobf("curse.maven:project_slug-project_id:file_id")' |
33 | | - * Example: devOnlyNonPublishable(rfg.deobf("curse.maven:top-245211:2667280")) |
34 | | - * |
35 | | - * Gradle names for some of the configuration can be misleading, compileOnlyApi and runtimeOnly both get published as dependencies in Maven, but compileOnly does not. |
36 | | - * The buildscript adds runtimeOnlyNonPublishable to also have a runtime dependency that's not published. |
37 | | - * |
38 | | - * For more details, see https://docs.gradle.org/8.4/userguide/java_library_plugin.html#sec:java_library_configurations_graph |
39 | | - */ |
40 | | -dependencies { |
41 | | - compileOnly rfg.deobf("org.spongepowered:mixin:0.8.5-GTNH") |
42 | | - implementation rfg.deobf("curse.maven:extended-crafting-268387:2777071") |
43 | | - implementation rfg.deobf("curse.maven:cucumber-272335:2645867") |
44 | | - implementation rfg.deobf("curse.maven:baubles-227083:2518667") |
45 | | - implementation rfg.deobf("curse.maven:nae2-884359:5380800") |
46 | | - |
47 | | - implementation rfg.deobf("curse.maven:ae2-extended-life-570458:5378163") |
48 | | - //implementation rfg.deobf("curse.maven:ae2-fluid-crafting-rework-623955:4804730") |
49 | | - compileOnlyApi rfg.deobf("curse.maven:jei-238222:4538010") |
50 | | - devOnlyNonPublishable rfg.deobf("curse.maven:AAI-573154:3627065") |
51 | | -} |
| 1 | +//file:noinspection DependencyNotationArgument |
| 2 | +// TODO remove when fixed in RFG ^ |
| 3 | +/* |
| 4 | + * Add your dependencies here. Supported configurations: |
| 5 | + * - api("group:name:version:classifier"): if you use the types from this dependency in the public API of this mod |
| 6 | + * Available at runtime and compiletime for mods depending on this mod |
| 7 | + * - implementation("g:n:v:c"): if you need this for internal implementation details of the mod, but none of it is visible via the public API |
| 8 | + * Available at runtime but not compiletime for mods depending on this mod |
| 9 | + * - compileOnly("g:n:v:c"): if the mod you're building doesn't need this dependency during runtime at all, e.g. for optional mods |
| 10 | + * Not available at all for mods depending on this mod, only visible at compiletime for this mod |
| 11 | + * - compileOnlyApi("g:n:v:c"): like compileOnly, but also visible at compiletime for mods depending on this mod |
| 12 | + * Available at compiletime but not runtime for mods depending on this mod |
| 13 | + * - runtimeOnlyNonPublishable("g:n:v:c"): if you want to include a mod in this mod's runClient/runServer runs, but not publish it as a dependency |
| 14 | + * Not available at all for mods depending on this mod, only visible at runtime for this mod |
| 15 | + * - devOnlyNonPublishable("g:n:v:c"): a combination of runtimeOnlyNonPublishable and compileOnly for dependencies present at both compiletime and runtime, |
| 16 | + * but not published as Maven dependencies - useful for RFG-deobfuscated dependencies or local testing |
| 17 | + * - runtimeOnly("g:n:v:c"): if you don't need this at compile time, but want it to be present at runtime |
| 18 | + * Available at runtime for mods depending on this mod |
| 19 | + * - annotationProcessor("g:n:v:c"): mostly for java compiler plugins, if you know you need this, use it, otherwise don't worry |
| 20 | + * - testCONFIG("g:n:v:c") - replace CONFIG by one of the above (except api), same as above but for the test sources instead of main |
| 21 | + * |
| 22 | + * - shadowImplementation("g:n:v:c"): effectively the same as API, but the dependency is included in your jar under a renamed package name |
| 23 | + * Requires you to enable usesShadowedDependencies in gradle.properties |
| 24 | + * For more info, see https://github.com/GregTechCEu/Buildscripts/blob/master/docs/shadow.md |
| 25 | + * |
| 26 | + * You can exclude transitive dependencies (dependencies of the chosen dependency) by appending { transitive = false } if needed, |
| 27 | + * but use this sparingly as it can break using your mod as another mod's dependency if you're not careful. |
| 28 | + * |
| 29 | + * To depend on obfuscated jars you can use `devOnlyNonPublishable(rfg.deobf("dep:spec:1.2.3"))` to fetch an obfuscated jar from maven, |
| 30 | + * or `devOnlyNonPublishable(rfg.deobf(project.files("libs/my-mod-jar.jar")))` to use a file. |
| 31 | + * |
| 32 | + * To add a mod with CurseMaven, replace '("g:n:v:c")' in the above with 'rfg.deobf("curse.maven:project_slug-project_id:file_id")' |
| 33 | + * Example: devOnlyNonPublishable(rfg.deobf("curse.maven:top-245211:2667280")) |
| 34 | + * |
| 35 | + * Gradle names for some of the configuration can be misleading, compileOnlyApi and runtimeOnly both get published as dependencies in Maven, but compileOnly does not. |
| 36 | + * The buildscript adds runtimeOnlyNonPublishable to also have a runtime dependency that's not published. |
| 37 | + * |
| 38 | + * For more details, see https://docs.gradle.org/8.4/userguide/java_library_plugin.html#sec:java_library_configurations_graph |
| 39 | + */ |
| 40 | +dependencies { |
| 41 | + compileOnly rfg.deobf("org.spongepowered:mixin:0.8.5-GTNH") |
| 42 | + implementation rfg.deobf("curse.maven:extended-crafting-268387:2777071") |
| 43 | + implementation rfg.deobf("curse.maven:cucumber-272335:2645867") |
| 44 | + implementation rfg.deobf("curse.maven:baubles-227083:2518667") |
| 45 | + implementation rfg.deobf("curse.maven:nae2-884359:5380800") |
| 46 | + |
| 47 | + implementation rfg.deobf("curse.maven:ae2-extended-life-570458:5378163") |
| 48 | + //implementation rfg.deobf("curse.maven:ae2-fluid-crafting-rework-623955:4804730") |
| 49 | + compileOnlyApi rfg.deobf("curse.maven:jei-238222:4538010") |
| 50 | + devOnlyNonPublishable rfg.deobf("curse.maven:AAI-573154:3627065") |
| 51 | +} |
0 commit comments