36 lines
No EOL
771 B
Groovy
36 lines
No EOL
771 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
|
|
repositories {
|
|
maven {
|
|
url "https://mcphackers.github.io/libraries/"
|
|
}
|
|
maven {
|
|
url "https://libraries.minecraft.net/"
|
|
}
|
|
mavenCentral()
|
|
}
|
|
|
|
group = 'org.mcphackers'
|
|
archivesBaseName = 'launchwrapper'
|
|
version = '1.0'
|
|
sourceCompatibility = 1.5
|
|
|
|
dependencies {
|
|
implementation 'org.mcphackers.rdi:rdi:1.0'
|
|
implementation 'org.lwjgl.lwjgl:lwjgl:2.9.4'
|
|
implementation 'org.lwjgl.lwjgl:lwjgl_util:2.9.4'
|
|
implementation 'org.ow2.asm:asm:9.3'
|
|
implementation 'org.ow2.asm:asm-tree:9.3'
|
|
implementation 'org.json:json:20230311'
|
|
}
|
|
|
|
task sourcesJar(type: Jar) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
artifacts {
|
|
archives jar
|
|
archives sourcesJar
|
|
} |