summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle37
1 files changed, 37 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..d025b9b
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,37 @@
+buildscript {
+ ext {
+ lombokVersion = '1.18.22'
+ }
+}
+
+plugins {
+ id 'java'
+ id 'maven-publish'
+}
+
+repositories {
+ mavenLocal()
+ maven {
+ url = uri('https://repo.maven.apache.org/maven2/')
+ }
+}
+
+dependencies {
+ compileOnly group: 'org.projectlombok', name: 'lombok', version: lombokVersion
+ annotationProcessor group: 'org.projectlombok', name: 'lombok', version: lombokVersion
+ testCompileOnly group: 'org.projectlombok', name: 'lombok', version: lombokVersion
+ testAnnotationProcessor group: 'org.projectlombok', name: 'lombok', version: lombokVersion
+}
+
+group = 'com.lumaserv'
+version = '1.0-SNAPSHOT'
+description = 'bgp-java'
+java.sourceCompatibility = JavaVersion.VERSION_1_8
+
+publishing {
+ publications {
+ maven(MavenPublication) {
+ from(components.java)
+ }
+ }
+}