lillero-processor/build.gradle

24 lines
583 B
Groovy
Raw Permalink Normal View History

plugins {
id 'java'
2023-03-02 00:54:36 +01:00
id 'com.palantir.git-version' version '0.13.0'
}
2023-03-02 00:54:36 +01:00
archivesBaseName = 'processor'
version = gitVersion()
2023-02-28 21:58:12 +01:00
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
repositories {
mavenCentral()
maven { url = 'https://maven.fantabos.co' }
}
2023-02-27 02:26:06 +01:00
//TODO: figure out how to make annotationProcessor inherit its dependencies
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()}"
}