-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
39 lines (32 loc) · 986 Bytes
/
build.gradle.kts
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
plugins {
id("com.github.johnrengelman.shadow") version "5.2.0"
java
application
}
group = "com.openosrs"
version = "1.0-SNAPSHOT"
repositories {
jcenter()
mavenCentral()
maven(url = "https://raw.githubusercontent.com/open-osrs/hosting/master")
}
dependencies {
annotationProcessor("org.projectlombok:lombok:1.18.10")
implementation("com.google.code.gson:gson:2.8.6")
implementation("org.springframework.boot:spring-boot-starter-web:2.2.2.RELEASE")
implementation("org.projectlombok:lombok:1.18.10")
implementation("org.apache.commons:commons-lang3:3.9")
testCompile("junit", "junit", "4.12")
}
val jar by tasks.getting(Jar::class) {
manifest {
attributes["Main-Class"] = "service.SpringBootWebApplication"
}
}
application {
mainClassName = "service.SpringBootWebApplication"
applicationDefaultJvmArgs = listOf("-Xmx2g")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_11
}