Revert usage of reflections library
This commit is contained in:
26
build.gradle
26
build.gradle
@@ -1,16 +1,5 @@
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.github.jengelman.gradle.plugins:shadow:5.1.0'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
apply plugin: 'java'
|
||||
|
||||
group = 'net.babamod'
|
||||
@@ -33,7 +22,6 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.spigotmc:spigot-api:1.16.3-R0.1-SNAPSHOT'
|
||||
compile group: 'org.reflections', name: 'reflections', version: '0.9.10'
|
||||
}
|
||||
|
||||
processResources {
|
||||
@@ -42,14 +30,6 @@ processResources {
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
archiveBaseName.set('mineclass')
|
||||
archiveClassifier.set('')
|
||||
archiveVersion.set('')
|
||||
}
|
||||
|
||||
task relocateShadowJar(type: ConfigureShadowRelocation) {
|
||||
target = tasks.shadowJar
|
||||
}
|
||||
|
||||
tasks.shadowJar.dependsOn tasks.relocateShadowJar
|
||||
jar {
|
||||
archiveName "MineClass.jar"
|
||||
}
|
||||
Reference in New Issue
Block a user