2023-03-02 00:50:02 +01:00
|
|
|
plugins {
|
|
|
|
id 'java-library'
|
|
|
|
id 'com.palantir.git-version' version '0.13.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
archivesBaseName = 'lll'
|
|
|
|
version = gitVersion()
|
2023-02-06 22:47:38 +01:00
|
|
|
|
2023-03-04 15:07:12 +01:00
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
withSourcesJar()
|
|
|
|
withJavadocJar()
|
|
|
|
}
|
2023-02-06 22:47:38 +01:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-03-28 00:35:35 +02:00
|
|
|
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'
|
2023-02-06 22:47:38 +01:00
|
|
|
}
|
2023-03-02 00:50:02 +01:00
|
|
|
|
|
|
|
jar {
|
|
|
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
2023-03-04 15:07:12 +01:00
|
|
|
}
|