added JPMS URL stream handler
All checks were successful
CI / build (push) Successful in 1m41s

This commit is contained in:
2025-01-09 16:13:38 +08:00
parent 8af4a84e49
commit 89817c5624
16 changed files with 176 additions and 11 deletions

31
jwo-test/build.gradle Normal file
View File

@@ -0,0 +1,31 @@
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(':')
}