diff options
author | Jonas Herzig <jonas@spark-squared.com> | 2021-11-12 11:58:05 +0100 |
---|---|---|
committer | Jonas Herzig <jonas@spark-squared.com> | 2021-11-12 15:23:25 +0100 |
commit | b30404f156adb6e01bfe4edc50b4de4245ba4509 (patch) | |
tree | 7f563929717f12e855034f2eab6c9fb1f95a873e /build.gradle.kts | |
parent | 5723e6481d2f4e07b6820201e74924643b5687bc (diff) | |
download | Remap-b30404f156adb6e01bfe4edc50b4de4245ba4509.tar.gz Remap-b30404f156adb6e01bfe4edc50b4de4245ba4509.tar.bz2 Remap-b30404f156adb6e01bfe4edc50b4de4245ba4509.zip |
Separate B from A test files
So we are closer to a realistic setup and can tell when we accidentally look up
a class in the wrong project.
Also allows us to have changes in a class but not to the class or its
package (i.e. same file).
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 738d008..c3bba96 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,6 +17,9 @@ repositories { maven("https://repo.spongepowered.org/repository/maven-public/") } +val testA by sourceSets.creating +val testB by sourceSets.creating + dependencies { api("org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.21") implementation(kotlin("stdlib")) @@ -26,6 +29,8 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter:5.7.1") testImplementation("io.kotest:kotest-assertions-core:4.6.3") + testRuntimeOnly(testA.output) + testRuntimeOnly(testB.output) testRuntimeOnly("org.spongepowered:mixin:0.8.4") } |