This commit is contained in:
@@ -4,27 +4,9 @@ plugins {
|
||||
alias(catalog.plugins.envelope)
|
||||
}
|
||||
|
||||
import org.gradle.api.attributes.LibraryElements
|
||||
import static org.gradle.api.attributes.LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE
|
||||
import static org.gradle.api.attributes.LibraryElements.JAR
|
||||
import net.woggioni.gradle.envelope.EnvelopeJarTask
|
||||
import net.woggioni.gradle.envelope.EnvelopePlugin
|
||||
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user