mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-14 11:39:22 +01:00
28 lines
612 B
Groovy
28 lines
612 B
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'com.palantir.git-version' version '0.13.0'
|
|
}
|
|
|
|
archivesBaseName = 'lll'
|
|
version = gitVersion()
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.ow2.asm:asm-commons:9.5'
|
|
implementation 'org.ow2.asm:asm-util:9.5'
|
|
implementation 'org.apache.logging.log4j:log4j-api:2.20.0'
|
|
}
|
|
|
|
jar {
|
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
|
}
|