mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 15:14:51 +01:00
24 lines
No EOL
583 B
Groovy
24 lines
No EOL
583 B
Groovy
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' }
|
|
}
|
|
|
|
//TODO: figure out how to make annotationProcessor inherit its dependencies
|
|
dependencies {
|
|
implementation 'com.squareup:javapoet:1.13.0'
|
|
implementation 'ftbsc:lll:0.3.0'
|
|
}
|
|
|
|
jar {
|
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
|
} |