3c6a75a587
dont midn the version bump, it's easier to bump versions then to get Maven to bahave
29 lines
611 B
Groovy
29 lines
611 B
Groovy
plugins {
|
|
id 'java-library'
|
|
}
|
|
|
|
version = '1.6.6'
|
|
|
|
dependencies {
|
|
implementation project(":Plugin-API")
|
|
api "org.json:json:20250107"
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(javaVersion)) // Set Java version
|
|
}
|
|
}
|
|
|
|
// Tell shadow not to interfere with the main publication
|
|
shadowJar {
|
|
archiveClassifier = 'all' // keeps shadow as -all.jar, not the main artifact
|
|
}
|
|
|
|
configurations {
|
|
[apiElements, runtimeElements].each {
|
|
it.outgoing.artifacts.removeIf {
|
|
it.buildDependencies.getDependencies(null).contains(shadowJar)
|
|
}
|
|
}
|
|
} |