diff --git a/build.gradle.kts b/build.gradle.kts index 76dbeb0..19a9fa7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -146,18 +146,20 @@ publishing { } } publications { - create("mavenJava") { + create("agent") { groupId = "xyz.wagyourtail.unimined.expect-platform" - artifactId = "expect-platform" + artifactId = "expect-platform-agent" version = project.version.toString() - artifact(annotationJar) { - classifier = "annotations" - } + artifact(agentShadeJar) {} + } - artifact(agentShadeJar) { - classifier = "agent" - } + create("annotations") { + groupId = "xyz.wagyourtail.unimined.expect-platform" + artifactId = "expect-platform-annotations" + version = project.version.toString() + + artifact(annotationJar) {} } } } diff --git a/src/main/kotlin/xyz/wagyourtail/unimined/expect/ExpectPlatformExtension.kt b/src/main/kotlin/xyz/wagyourtail/unimined/expect/ExpectPlatformExtension.kt index a7ec88b..05a027f 100644 --- a/src/main/kotlin/xyz/wagyourtail/unimined/expect/ExpectPlatformExtension.kt +++ b/src/main/kotlin/xyz/wagyourtail/unimined/expect/ExpectPlatformExtension.kt @@ -17,8 +17,8 @@ abstract class ExpectPlatformExtension(val project: Project) { @get:Internal val version = ExpectPlatformExtension::class.java.`package`.implementationVersion ?: "1.0.0-SNAPSHOT" - val annotationsDep = "xyz.wagyourtail.unimined.expect-platform:expect-platform:$version:annotations" - val agentDep = "xyz.wagyourtail.unimined.expect-platform:expect-platform:$version:agent" + val annotationsDep = "xyz.wagyourtail.unimined.expect-platform:expect-platform-annotations:$version" + val agentDep = "xyz.wagyourtail.unimined.expect-platform:expect-platform-agent:$version" @JvmOverloads fun platform(platformName: String, configuration: Configuration, action: ExpectPlatformParams.() -> Unit = {}) {