aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
blob: e9fae11544a0c7c1b375cfc4c7539006747dac1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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()}"
}