summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-08-22 11:13:23 +0200
committer zaaarf <zaaarf@proton.me>2023-08-22 11:13:23 +0200
commit61e9b5c84815232b49a9dbbaed1200793cbe4d06 (patch)
tree1dede9734bd1cfee02ae809484566e8e633e977e /build.gradle
chore: initial commit
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle26
1 files changed, 26 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..a69ee06
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,26 @@
+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()
+}
+
+dependencies {
+ implementation 'com.squareup:javapoet:1.13.0'
+}
+
+jar {
+ from sourceSets.main.output
+ archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
+} \ No newline at end of file