-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathbuild.gradle
67 lines (54 loc) · 1.73 KB
/
build.gradle
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
plugins {
id 'org.springframework.boot' version '2.7.18'
id 'io.spring.dependency-management' version '1.1.4'
id 'java-library'
id 'war'
id 'maven-publish'
}
import org.gradle.internal.jvm.Jvm
assert Jvm.current().javaVersion >= JavaVersion.VERSION_11: 'This project requires Java 11+'
group = 'ARIN'
description = 'RDAP Bootstrap Server'
version = '1000.0-SNAPSHOT'
if (project.hasProperty('artifactVersion')) {
version = "${project.properties.artifactVersion}"
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
maven { url 'https://repo.maven.apache.org/maven2' }
}
ext {
logbackVersion = '1.2.13'
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation group: 'com.googlecode.java-ipv6', name: 'java-ipv6', version: '0.17'
implementation group: 'net.ripe.ipresource', name: 'ipresource', version: '1.47'
implementation group: 'commons-io', name: 'commons-io', version: '2.7'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
}
springBoot {
mainClass = 'net.arin.rdap_bootstrap.spring.RdapBootstrapApp'
}
bootRun {
systemProperties System.properties
}
publishing {
publications {
bootJava(MavenPublication) {
artifact bootJar
}
}
repositories {
maven {
url = project.properties.mavenRepository
credentials {
username = project.properties.mavenUser
password = project.properties.mavenPassword
}
}
}
}