aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-08-17 18:26:10 +0200
committer zaaarf <zaaarf@proton.me>2023-08-17 18:26:10 +0200
commit8123655b9ad1d831779797467e0e23afd52b90d0 (patch)
treefe49509825b7ad86390bf30fac7e94e28dd96906 /build.gradle
feat: initial basic api implementation
will probably change severely as i write this
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle25
1 files changed, 25 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..d13feb4
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,25 @@
+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 {
+ archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
+}