2023-08-22 11:13:23 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'com.palantir.git-version' version '0.13.0'
|
|
|
|
}
|
|
|
|
|
2023-08-24 02:01:07 +02:00
|
|
|
archivesBaseName = 'processor'
|
2023-08-22 11:13:23 +02:00
|
|
|
version = gitVersion()
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
withSourcesJar()
|
|
|
|
withJavadocJar()
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2023-08-22 11:28:05 +02:00
|
|
|
maven { url 'https://maven.fantabos.co' }
|
2023-08-22 11:13:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-08-24 01:58:57 +02:00
|
|
|
implementation 'ftbsc:geb:0.2.0'
|
2023-08-22 11:13:23 +02:00
|
|
|
implementation 'com.squareup:javapoet:1.13.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
from sourceSets.main.output
|
|
|
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
2023-08-24 01:58:57 +02:00
|
|
|
}
|