aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
blob: 74794ead38550e36f3d080472b2a56e84f319cf5 (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
plugins {
   id 'java'
   id 'com.palantir.git-version' version '0.13.0'
}

archivesBaseName = 'processor'
version = gitVersion()

java {
   sourceCompatibility = JavaVersion.VERSION_1_8
   targetCompatibility = JavaVersion.VERSION_1_8
   withSourcesJar()
   withJavadocJar()
}

repositories {
   mavenCentral()
   maven { url = 'https://maven.fantabos.co' }
}

dependencies {
   implementation 'com.squareup:javapoet:1.13.0'
   implementation 'org.ow2.asm:asm-commons:9.5'
   implementation 'ftbsc:lll:0.4.2'
   implementation 'ftbsc.lll:mapper:0.1.0'
}

jar {
   archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
}