Updated the build.gradle to delegate down to the subprojects

This commit is contained in:
2019-02-03 20:46:37 -07:00
parent d008757b53
commit fc36fa994e
19 changed files with 38 additions and 86 deletions
+7 -10
View File
@@ -16,6 +16,9 @@ plugins {
id 'org.unbroken-dome.test-sets' version '1.4.5'
id 'war'
}
apply plugin: 'org.springframework.boot'
description = 'Pandamonium Theorem Prover'
group 'edu.msudenver.tsp'
@@ -38,7 +41,6 @@ allprojects {
apply plugin: 'jacoco'
apply plugin: 'org.unbroken-dome.test-sets'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
}
@@ -48,17 +50,13 @@ subprojects {
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile 'org.codehaus.groovy:groovy-all:2.3.11'
compile 'org.apache.commons:commons-lang3:3.5'
// The production code uses the SLF4J logging API at compile time
compile 'org.slf4j:slf4j-api:1.7.21'
compile "joda-time:joda-time:2.2"
compile("org.springframework.boot:spring-boot-starter-web")
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile("org.springframework.boot:spring-boot-starter-test")
testCompile('org.mockito:mockito-core:1.10.19') {exclude(group: 'org.hamcrest')}
compileOnly 'org.projectlombok:lombok:1.18.4'
@@ -78,11 +76,10 @@ subprojects {
}
}
//bootJar {
// baseName = 'gs-spring-boot'
// mainClassName = 'edu.msudenver.tsp.website.Application'
// version = '0.1.0'
//}
bootJar {
baseName = 'gs-spring-boot'
version = '0.1.0'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8