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

archivesBaseName = 'processor'
version = gitVersion()

java.toolchain.languageVersion = JavaLanguageVersion.of(8)

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

dependencies {
    implementation 'com.squareup:javapoet:1.13.0'
    implementation 'ftbsc:lll:0.3.4'
}

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