Testing the change in build.gradle

This commit is contained in:
2019-02-03 20:19:36 -07:00
parent c37c8d2e87
commit d008757b53
9 changed files with 48 additions and 16 deletions
+40 -3
View File
@@ -42,11 +42,48 @@ allprojects {
apply plugin: 'io.spring.dependency-management'
}
bootJar {
baseName = 'gs-spring-boot'
version = '0.1.0'
subprojects {
repositories {
mavenCentral()
}
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'
}
test {
if (System.properties['test.profile'] != 'integrationTest') {
exclude '**/*integrationTest*'
} else {
exclude '**/*edu/*'
}
}
testSets {
unitTest
integrationTest
}
}
//bootJar {
// baseName = 'gs-spring-boot'
// mainClassName = 'edu.msudenver.tsp.website.Application'
// version = '0.1.0'
//}
sourceCompatibility = 1.8
targetCompatibility = 1.8