plugins {
id 'java-library'
id 'com.github.johnrengelman.shadow' version "6.1.0"
}
repositories {
maven {
url "https://maven.fabricmc.net"
}
mavenCentral()
}
dependencies {
implementation group: 'cuchaz', name: 'enigma-swing', version: '1.4.7'
implementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.9'
}
shadowJar {
configurations = [project.configurations.shadow]
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'gradle-wrapper-parameter-names.properties'
exclude 'gradle-wrapper-classpath.properties'
exclude 'gradle-cli-parameter-names.properties'
exclude 'gradle-cli-classpath.properties'
manifest {
attributes (
'Main-Class': 'com.wildermods.workspace.Main',
'Specification-Version': 8.0
)
}
}
build.finalizedBy shadowJar
Comments
0 B
|👍
/👎