summaryrefslogtreecommitdiff
path: root/build.gradle
blob: a4a0c2ff45f65ed1ee344fdd4e7ecc767df746b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.4'
    implementation 'org.ow2.asm:asm-util:9.4'
    implementation 'org.apache.logging.log4j:log4j-api:2.15.0'
}

jar {
    archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
}