Testing the change in build.gradle
This commit is contained in:
@@ -42,11 +42,48 @@ allprojects {
|
|||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
}
|
}
|
||||||
|
|
||||||
bootJar {
|
subprojects {
|
||||||
baseName = 'gs-spring-boot'
|
repositories {
|
||||||
version = '0.1.0'
|
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
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
|
|||||||
@@ -3,5 +3,4 @@ lombok.accessors.chain = true
|
|||||||
lombok.accessors.fluent = false
|
lombok.accessors.fluent = false
|
||||||
lombok.addLombokGeneratedAnnotation = true
|
lombok.addLombokGeneratedAnnotation = true
|
||||||
lombok.log.fieldName = LOG
|
lombok.log.fieldName = LOG
|
||||||
lombok.toString.includeFieldNames = true
|
lombok.toString.includeFieldNames = true
|
||||||
lombok.data.flagUsage = error
|
|
||||||
+1
-2
@@ -2,11 +2,10 @@ package edu.msudenver.tsp.persistence.manager;
|
|||||||
|
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.context.annotation.PropertySource;
|
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan
|
@ComponentScan
|
||||||
@PropertySource("classpath:development.properties")
|
//@PropertySource("classpath:development.properties")
|
||||||
public class ManagerConfig {
|
public class ManagerConfig {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -2,11 +2,10 @@ package edu.msudenver.tsp.services.parser;
|
|||||||
|
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.context.annotation.PropertySource;
|
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan
|
@ComponentScan
|
||||||
@PropertySource("classpath:development.properties")
|
//@PropertySource("classpath:development.properties")
|
||||||
public class ParserConfig {
|
public class ParserConfig {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -3,11 +3,10 @@ package edu.msudenver.tsp.services.scoring;
|
|||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.context.annotation.PropertySource;
|
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan
|
@ComponentScan
|
||||||
@PropertySource("classpath:development.properties")
|
//@PropertySource("classpath:development.properties")
|
||||||
public class ScoringConfig {
|
public class ScoringConfig {
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package hello;
|
package edu.msudenver.tsp.website;
|
||||||
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.boot.CommandLineRunner;
|
import org.springframework.boot.CommandLineRunner;
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package hello;
|
package edu.msudenver.tsp.website;
|
||||||
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
+1
-2
@@ -2,11 +2,10 @@ package edu.msudenver.tsp.website;
|
|||||||
|
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.context.annotation.PropertySource;
|
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan
|
@ComponentScan
|
||||||
@PropertySource("classpath:development.properties")
|
//@PropertySource("classpath:development.properties")
|
||||||
public class WebsiteConfig {
|
public class WebsiteConfig {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
package edu.msudenver.tsp.website.integrationTest;
|
package edu.msudenver.tsp.website.integrationTest;
|
||||||
|
|
||||||
import hello.Application;
|
import edu.msudenver.tsp.website.Application;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|||||||
Reference in New Issue
Block a user