mirror of
https://github.com/zaaarf/lillero-loader.git
synced 2024-11-09 23:59:20 +01:00
32 lines
789 B
Groovy
32 lines
789 B
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'com.palantir.git-version' version '0.13.0'
|
|
}
|
|
|
|
archivesBaseName = 'loader'
|
|
version = gitVersion()
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
|
|
repositories {
|
|
maven { url = 'https://maven.minecraftforge.net/' }
|
|
maven { url = 'https://maven.fantabos.co' }
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.apache.logging.log4j:log4j-api:2.17.1'
|
|
implementation 'org.apache.logging.log4j:log4j-core:2.17.1'
|
|
implementation 'org.ow2.asm:asm-commons:9.4'
|
|
implementation 'cpw.mods:modlauncher:8.1.3'
|
|
implementation 'ftbsc:lll:0.3.2'
|
|
}
|
|
|
|
jar {
|
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
|
}
|