Ola Adolfsson
03/09/2020, 12:21 PMthanksforallthefish
03/09/2020, 12:32 PMtasks {
register<Jar>("jarTest") {
dependsOn(testClasses)
from(sourceSets["test"].output)
archiveClassifier.set("testHelper")
}
jar {
dependsOn(named<Jar>("jarTest"))
}
}
val testHelper by configurations.creating
artifacts {
add(testHelper.name, tasks.named<Jar>("jarTest").get())
}
wondering if there are better approaches/implementationtulio
03/09/2020, 12:33 PMsharing test fixtures between projects
(https://gradle.org/whats-new/gradle-6/#sharing-test-fixtures-between-projects)tulio
03/09/2020, 12:34 PMtulio
03/09/2020, 12:35 PMthanksforallthefish
03/09/2020, 12:55 PM*Task :domain:compileTestFixturesKotlin* FAILED DomainFactories.kt: (8, 37): Cannot access built-in declaration 'kotlin.Boolean'. Ensure that you have a dependency on the Kotlin standard library
but guess I can find a solutionOla Adolfsson
03/09/2020, 1:23 PMthanksforallthefish
03/10/2020, 8:17 AMthanksforallthefish
03/10/2020, 8:17 AMtulio
03/10/2020, 10:38 AM