mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-25 17:04:48 +01:00
chore: added gitversion
This commit is contained in:
parent
9a355f33af
commit
1becebd024
1 changed files with 11 additions and 1 deletions
12
build.gradle
12
build.gradle
|
@ -1,4 +1,10 @@
|
||||||
apply plugin: 'java-library'
|
plugins {
|
||||||
|
id 'java-library'
|
||||||
|
id 'com.palantir.git-version' version '0.13.0'
|
||||||
|
}
|
||||||
|
|
||||||
|
archivesBaseName = 'lll'
|
||||||
|
version = gitVersion()
|
||||||
|
|
||||||
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
||||||
|
|
||||||
|
@ -11,3 +17,7 @@ dependencies {
|
||||||
implementation 'org.ow2.asm:asm-util:9.4'
|
implementation 'org.ow2.asm:asm-util:9.4'
|
||||||
implementation 'org.apache.logging.log4j:log4j-api:2.15.0'
|
implementation 'org.apache.logging.log4j:log4j-api:2.15.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
||||||
|
}
|
Loading…
Reference in a new issue