bumped version to 1.0.8 - updated build.gradle to match latest plugin-template build.gradle
This commit is contained in:
36
build.gradle
36
build.gradle
@@ -6,6 +6,9 @@ repositories {
|
|||||||
mavenLocal()
|
mavenLocal()
|
||||||
maven {
|
maven {
|
||||||
url = 'https://repo.runelite.net'
|
url = 'https://repo.runelite.net'
|
||||||
|
content {
|
||||||
|
includeGroupByRegex("net\\.runelite.*")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
@@ -24,9 +27,36 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = 'com.toofifty'
|
group = 'com.toofifty'
|
||||||
version = '1.0.7'
|
version = '1.0.8'
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
options.encoding = 'UTF-8'
|
options.encoding = 'UTF-8'
|
||||||
options.release.set(11)
|
options.release.set(11)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.register('shadowJar', Jar) {
|
||||||
|
dependsOn configurations.testRuntimeClasspath
|
||||||
|
manifest {
|
||||||
|
attributes('Main-Class': 'com.toofifty.easygiantsfoundry.EasyGiantsFoundryPluginTest', 'Multi-Release': true)
|
||||||
|
}
|
||||||
|
|
||||||
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
from sourceSets.main.output
|
||||||
|
from sourceSets.test.output
|
||||||
|
from {
|
||||||
|
configurations.testRuntimeClasspath.collect { file ->
|
||||||
|
file.isDirectory() ? file : zipTree(file)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
exclude 'META-INF/INDEX.LIST'
|
||||||
|
exclude 'META-INF/*.SF'
|
||||||
|
exclude 'META-INF/*.DSA'
|
||||||
|
exclude 'META-INF/*.RSA'
|
||||||
|
exclude '**/module-info.class'
|
||||||
|
|
||||||
|
group = BasePlugin.BUILD_GROUP
|
||||||
|
archiveClassifier.set('shadow')
|
||||||
|
archiveFileName.set("${rootProject.name}-${project.version}-all.jar")
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user