diff options
Diffstat (limited to 'buildSrc/src/main/kotlin/tools')
-rw-r--r-- | buildSrc/src/main/kotlin/tools/refinery/gradle/internal/java-conventions.gradle.kts | 8 | ||||
-rw-r--r-- | buildSrc/src/main/kotlin/tools/refinery/gradle/java-test-fixtures.gradle.kts | 7 |
2 files changed, 10 insertions, 5 deletions
diff --git a/buildSrc/src/main/kotlin/tools/refinery/gradle/internal/java-conventions.gradle.kts b/buildSrc/src/main/kotlin/tools/refinery/gradle/internal/java-conventions.gradle.kts index feca5b2b..a20f84c2 100644 --- a/buildSrc/src/main/kotlin/tools/refinery/gradle/internal/java-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/tools/refinery/gradle/internal/java-conventions.gradle.kts | |||
@@ -98,11 +98,9 @@ tasks { | |||
98 | } | 98 | } |
99 | } | 99 | } |
100 | 100 | ||
101 | publishing { | 101 | publishing.publications { |
102 | publications { | 102 | create<MavenPublication>("mavenJava") { |
103 | create<MavenPublication>("mavenJava") { | 103 | from(components["java"]) |
104 | from(components["java"]) | ||
105 | } | ||
106 | } | 104 | } |
107 | } | 105 | } |
108 | 106 | ||
diff --git a/buildSrc/src/main/kotlin/tools/refinery/gradle/java-test-fixtures.gradle.kts b/buildSrc/src/main/kotlin/tools/refinery/gradle/java-test-fixtures.gradle.kts index a28484d4..004be8b4 100644 --- a/buildSrc/src/main/kotlin/tools/refinery/gradle/java-test-fixtures.gradle.kts +++ b/buildSrc/src/main/kotlin/tools/refinery/gradle/java-test-fixtures.gradle.kts | |||
@@ -13,6 +13,13 @@ plugins { | |||
13 | id("tools.refinery.gradle.internal.java-conventions") | 13 | id("tools.refinery.gradle.internal.java-conventions") |
14 | } | 14 | } |
15 | 15 | ||
16 | publishing.publications { | ||
17 | withType(MavenPublication::class) { | ||
18 | suppressPomMetadataWarningsFor(configurations.testFixturesApiElements.name) | ||
19 | suppressPomMetadataWarningsFor(configurations.testFixturesRuntimeElements.name) | ||
20 | } | ||
21 | } | ||
22 | |||
16 | eclipse.classpath { | 23 | eclipse.classpath { |
17 | containsTestFixtures.set(true) | 24 | containsTestFixtures.set(true) |
18 | 25 | ||