2023-02-24 03:03:23 +01:00
|
|
|
plugins {
|
2023-02-26 21:22:58 +01:00
|
|
|
id 'java'
|
2023-03-02 00:54:36 +01:00
|
|
|
id 'com.palantir.git-version' version '0.13.0'
|
2023-02-24 03:03:23 +01:00
|
|
|
}
|
|
|
|
|
2023-03-02 00:54:36 +01:00
|
|
|
archivesBaseName = 'processor'
|
|
|
|
version = gitVersion()
|
2023-02-24 03:03:23 +01:00
|
|
|
|
2023-02-28 21:58:12 +01:00
|
|
|
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
|
|
|
|
2023-02-24 03:03:23 +01:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven { url = 'https://maven.fantabos.co' }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'com.squareup:javapoet:1.13.0'
|
2023-03-01 21:31:11 +01:00
|
|
|
implementation 'ftbsc:lll:0.3.0'
|
2023-02-28 21:58:12 +01:00
|
|
|
}
|
2023-03-02 00:54:36 +01:00
|
|
|
|
|
|
|
jar {
|
|
|
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
2023-03-02 12:40:19 +01:00
|
|
|
}
|