aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/projects/simple/build.gradle
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2021-09-05 18:08:16 +0300
committerGitHub <noreply@github.com>2021-09-05 16:08:16 +0100
commit08f055489b96878a9d645288d2057aa93867fd76 (patch)
treee1a443e245f25138ed2ba263e8f34adc0f4b3752 /src/test/resources/projects/simple/build.gradle
parentb1b395cedf105146cd0441d1425bd8bbf2b85ed9 (diff)
downloadarchitectury-loom-08f055489b96878a9d645288d2057aa93867fd76.tar.gz
architectury-loom-08f055489b96878a9d645288d2057aa93867fd76.tar.bz2
architectury-loom-08f055489b96878a9d645288d2057aa93867fd76.zip
Fix the java software component not working with Loom and fix #200 (#460)
* Add modCompileOnlyApi, modRuntimeOnly; deprecate modRuntime * begin * continue * Make RemapSourcesJarTask use properties * finish * Remove cursed version hack :wink: * Finish for real * Add missing header * Clarify a comment * Fix tests * Use Gradle's own *Elements and remove -dev jars * Fix maven test * Put mappingsFinal onto runtimeClasspath instead of implementation * Make non-mod dependencies work with the legacy pom magic too * Be a bit more clever when removing dev artifacts
Diffstat (limited to 'src/test/resources/projects/simple/build.gradle')
-rw-r--r--src/test/resources/projects/simple/build.gradle8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/test/resources/projects/simple/build.gradle b/src/test/resources/projects/simple/build.gradle
index 771502c4..1cd3ca13 100644
--- a/src/test/resources/projects/simple/build.gradle
+++ b/src/test/resources/projects/simple/build.gradle
@@ -72,13 +72,7 @@ jar {
publishing {
publications {
mavenJava(MavenPublication) {
- // add all the jars that should be included when publishing to maven
- artifact(remapJar) {
- builtBy remapJar
- }
- artifact(sourcesJar) {
- builtBy remapSourcesJar
- }
+ from components.java
}
}