35 lines
671 B
Groovy
35 lines
671 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
|
|
repositories {
|
|
maven {
|
|
url "https://libraries.minecraft.net/"
|
|
}
|
|
mavenCentral()
|
|
flatDir {
|
|
dirs "lib"
|
|
}
|
|
}
|
|
|
|
group = 'org.mcphackers'
|
|
archivesBaseName = 'launchwrapper'
|
|
version = '1.0'
|
|
sourceCompatibility = 1.6
|
|
|
|
dependencies {
|
|
implementation name: 'lwjgl-2.9.4'
|
|
implementation name: 'lwjgl_util-2.9.4'
|
|
implementation 'org.ow2.asm:asm:9.3'
|
|
implementation 'org.ow2.asm:asm-tree:9.3'
|
|
implementation 'org.json:json:20220924'
|
|
}
|
|
|
|
task sourcesJar(type: Jar) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
artifacts {
|
|
archives jar
|
|
archives sourcesJar
|
|
}
|