Skip to content

Commit c5c80b2

Browse files
committed
automatic testing
1 parent 22a66a1 commit c5c80b2

File tree

7 files changed

+306
-189
lines changed

7 files changed

+306
-189
lines changed

build.gradle.kts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ sourceSets.main {
3131
runtimeClasspath += shared.output
3232
}
3333

34+
sourceSets.test {
35+
compileClasspath += shared.output
36+
runtimeClasspath += shared.output
37+
}
38+
3439
java {
3540
sourceCompatibility = JavaVersion.VERSION_1_8
3641
targetCompatibility = JavaVersion.VERSION_1_8
@@ -80,7 +85,7 @@ tasks.jar {
8085
}
8186

8287
val annotationJar = tasks.register<Jar>("annotationJar") {
83-
archiveClassifier.set("annotations")
88+
archiveBaseName.set("expect-platform-annotations")
8489
from(annotations.output)
8590

8691
manifest {
@@ -93,7 +98,8 @@ val annotationJar = tasks.register<Jar>("annotationJar") {
9398
}
9499

95100
val agentShadeJar = tasks.register<ShadowJar>("agentShadowJar") {
96-
archiveClassifier.set("agent")
101+
archiveBaseName.set("expect-platform-agent")
102+
97103
from(agent.output, shared.output)
98104

99105
shadowContents.add(shade)

buildSrc/src/main/kotlin/xyz/wagyourtail/gradle/shadow/ShadowJar.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ abstract class ShadowJar : Jar() {
2525

2626
shadowContents.convention(mutableListOf()).finalizeValueOnRead()
2727
relocatePackages.convention(mutableMapOf()).finalizeValueOnRead()
28-
archiveClassifier.convention("all")
2928
}
3029

3130
fun relocate(from: String, to: String) {

expect-platform-test/build.gradle

Lines changed: 0 additions & 180 deletions
This file was deleted.

0 commit comments

Comments
 (0)