2023-02-24 03:03:23 +01:00
|
|
|
plugins {
|
2023-03-31 13:50:01 +02:00
|
|
|
id 'java'
|
|
|
|
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 {
|
2023-03-31 13:50:01 +02:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
withSourcesJar()
|
|
|
|
withJavadocJar()
|
2023-03-04 17:17:25 +01:00
|
|
|
}
|
2023-02-28 21:58:12 +01:00
|
|
|
|
2023-02-24 03:03:23 +01:00
|
|
|
repositories {
|
2023-03-31 13:50:01 +02:00
|
|
|
mavenCentral()
|
|
|
|
maven { url = 'https://maven.fantabos.co' }
|
2023-02-24 03:03:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-03-31 13:50:01 +02:00
|
|
|
implementation 'com.squareup:javapoet:1.13.0'
|
|
|
|
implementation 'org.ow2.asm:asm-commons:9.5'
|
|
|
|
implementation 'ftbsc:lll:0.4.0'
|
2023-02-28 21:58:12 +01:00
|
|
|
}
|
2023-03-02 00:54:36 +01:00
|
|
|
|
|
|
|
jar {
|
2023-03-31 13:50:01 +02:00
|
|
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
2023-03-02 12:40:19 +01:00
|
|
|
}
|