Files
jwo/jwo-test/build.gradle
Walter Oggioni 89817c5624
All checks were successful
CI / build (push) Successful in 1m41s
added JPMS URL stream handler
2025-01-09 16:13:38 +08:00

31 lines
762 B
Groovy

plugins {
id 'java-library'
alias(catalog.plugins.lombok)
}
import org.gradle.api.attributes.LibraryElements
import static org.gradle.api.attributes.LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE
import static org.gradle.api.attributes.LibraryElements.JAR
configurations {
testImplementation {
attributes {
attribute(LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements.class, JAR))
}
}
testRuntimeClasspath {
attributes {
attribute(LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements.class, JAR))
}
}
}
java {
modularity.inferModulePath = true
}
dependencies {
testImplementation project(':jwo-test-module')
testImplementation project(':')
}