mirror of
https://github.com/zaaarf/lillero-loader.git
synced 2024-11-13 01:19:18 +01:00
chore: added gitversion
This commit is contained in:
parent
ef1e358a40
commit
5f3a57d798
1 changed files with 7 additions and 0 deletions
|
@ -1,7 +1,11 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
|
id 'com.palantir.git-version' version '0.13.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
archivesBaseName = 'loader'
|
||||||
|
version = gitVersion()
|
||||||
|
|
||||||
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -18,3 +22,6 @@ dependencies {
|
||||||
implementation 'ftbsc:lll:0.3.0'
|
implementation 'ftbsc:lll:0.3.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue