2020-04-13 19:43:48 +01:00
|
|
|
buildscript {
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
mavenLocal()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-28 17:03:00 +01:00
|
|
|
plugins {
|
|
|
|
id 'org.springframework.boot' version '2.2.6.RELEASE'
|
|
|
|
}
|
|
|
|
|
2020-04-13 19:43:48 +01:00
|
|
|
apply plugin : 'application'
|
2020-04-28 17:03:00 +01:00
|
|
|
apply plugin : 'io.spring.dependency-management'
|
|
|
|
|
2020-04-13 19:43:48 +01:00
|
|
|
application {
|
|
|
|
mainClassName = 'com.muwire.tracker.Tracker'
|
2020-04-28 17:03:00 +01:00
|
|
|
applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties','-Xmx256M',"-Dbuild.version=${project.version}"]
|
2020-04-13 19:43:48 +01:00
|
|
|
applicationName = 'mwtrackerd'
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin : 'com.github.johnrengelman.shadow'
|
|
|
|
|
2020-04-28 17:03:00 +01:00
|
|
|
springBoot {
|
|
|
|
buildInfo {
|
|
|
|
properties {
|
|
|
|
version = "${project.version}"
|
|
|
|
name = "mwtrackerd"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-13 19:43:48 +01:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
2020-04-28 17:03:00 +01:00
|
|
|
compile 'com.github.briandilley.jsonrpc4j:jsonrpc4j:1.5.3'
|
2020-04-28 18:11:26 +01:00
|
|
|
|
|
|
|
compile 'org.springframework.boot:spring-boot-starter'
|
|
|
|
compile 'org.springframework.boot:spring-boot-starter-actuator'
|
|
|
|
compile 'org.springframework.boot:spring-boot-starter-web'
|
2020-04-29 03:47:01 +01:00
|
|
|
|
|
|
|
runtime 'javax.jws:jsr181-api:1.0-MR1'
|
2020-04-13 19:43:48 +01:00
|
|
|
}
|
|
|
|
|