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-02-07 03:29:02 +01:00
|
|
|
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
|
|
|
|
|
|
|
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-02-07 13:42:11 +01:00
|
|
|
implementation 'org.apache.logging.log4j:log4j-api:2.15.0'
|
|
|
|
implementation 'org.apache.logging.log4j:log4j-core:2.15.0'
|
|
|
|
implementation 'org.ow2.asm:asm-commons:9.4'
|
|
|
|
implementation 'cpw.mods:modlauncher:8.1.3'
|
2023-03-01 22:30:49 +01:00
|
|
|
implementation 'ftbsc:lll:0.3.0'
|
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()}"
|
|
|
|
}
|