mirror of
https://github.com/zaaarf/geb.git
synced 2024-11-14 17:49:20 +01:00
21 lines
412 B
Groovy
21 lines
412 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'com.palantir.git-version' version '0.13.0'
|
|
}
|
|
|
|
archivesBaseName = 'geb'
|
|
version = gitVersion()
|
|
|
|
java {
|
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
jar {
|
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
|
}
|