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-03-04 17:17:25 +01:00
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
withSourcesJar()
|
|
|
|
withJavadocJar()
|
|
|
|
}
|
2023-02-28 21:58:12 +01:00
|
|
|
|
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-18 17:22:20 +01:00
|
|
|
implementation 'ftbsc:lll:0.3.4'
|
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
|
|
|
}
|