feat: added ShadowJar plugin
This commit is contained in:
parent
ea4eee4fa1
commit
ba36b2ab1d
@ -1,3 +1,29 @@
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '7.0.0'
|
||||
}
|
||||
|
||||
tasks {
|
||||
shadowJar {
|
||||
manifest {
|
||||
attributes (
|
||||
"Multi-Release": true,
|
||||
"Add-Opens": "java.base/java.lang " +
|
||||
"java.base/java.lang.reflect"
|
||||
)
|
||||
}
|
||||
|
||||
mergeServiceFiles()
|
||||
}
|
||||
|
||||
java {
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
}
|
||||
|
||||
assemble {
|
||||
dependsOn shadowJar, processResources
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(":resource-compiler")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user