2023-02-07 03:29:02 +01:00
|
|
|
plugins {
|
|
|
|
id 'java-library'
|
2023-03-02 00:57:56 +01:00
|
|
|
id 'com.palantir.git-version' version '0.13.0'
|
2023-02-07 03:29:02 +01:00
|
|
|
}
|
|
|
|
|
2023-03-02 00:57:56 +01:00
|
|
|
archivesBaseName = 'loader'
|
|
|
|
version = gitVersion()
|
|
|
|
|
2023-03-04 17:15:47 +01:00
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
withSourcesJar()
|
|
|
|
withJavadocJar()
|
|
|
|
}
|
2023-02-07 03:29:02 +01:00
|
|
|
|
|
|
|
repositories {
|
2023-02-07 13:42:11 +01:00
|
|
|
maven { url = 'https://maven.minecraftforge.net/' }
|
2023-02-07 03:29:02 +01:00
|
|
|
maven { url = 'https://maven.fantabos.co' }
|
2023-02-07 13:42:11 +01:00
|
|
|
mavenCentral()
|
2023-02-07 03:29:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-03-04 17:15:47 +01:00
|
|
|
implementation 'org.apache.logging.log4j:log4j-api:2.17.1'
|
|
|
|
implementation 'org.apache.logging.log4j:log4j-core:2.17.1'
|
2023-02-07 13:42:11 +01:00
|
|
|
implementation 'org.ow2.asm:asm-commons:9.4'
|
|
|
|
implementation 'cpw.mods:modlauncher:8.1.3'
|
2023-03-04 17:15:47 +01:00
|
|
|
implementation 'ftbsc:lll:0.3.2'
|
2023-02-07 03:29:02 +01:00
|
|
|
}
|
|
|
|
|
2023-03-02 00:57:56 +01:00
|
|
|
jar {
|
|
|
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
|
|
|
}
|