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

archivesBaseName = 'processor'
version = gitVersion().split('-').getAt(0).replace('dirty', '')

java {
   sourceCompatibility = 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.1'
}

jar {
   archiveFileName = "${jar.archiveBaseName.get()}-${project.version}.${jar.archiveExtension.get()}"
}