PAN-7 Updated the build.gradle files
This commit is contained in:
@@ -78,8 +78,8 @@ subprojects {
|
||||
}
|
||||
}
|
||||
|
||||
bootJar {
|
||||
baseName = 'gs-spring-boot'
|
||||
bootWar {
|
||||
baseName = 'ptp-web-server'
|
||||
version = '0.1.0'
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import org.gradle.internal.os.OperatingSystem
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
}
|
||||
|
||||
description = 'Provides database access and connectivity'
|
||||
@@ -9,6 +10,12 @@ version '1.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property "sonar.projectName", 'Persistence Tier'
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
@@ -17,17 +24,14 @@ dependencies {
|
||||
compile group: 'org.springframework.data', name: 'spring-data-jpa', version: '2.0.5.RELEASE'
|
||||
compile group: 'org.apache.tomcat', name: 'tomcat-jdbc', version: '9.0.16'
|
||||
compile group: 'org.springframework.boot', name: 'spring-boot-devtools', version: '2.0.5.RELEASE'
|
||||
// compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-elasticsearch', version: '2.1.2.RELEASE'
|
||||
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '2.0.5.RELEASE'
|
||||
compile group: 'org.springframework', name: 'spring-aspects', version: '5.1.5.RELEASE'
|
||||
compile group: 'org.hibernate', name: 'hibernate-core', version: '5.4.1.Final'
|
||||
compile group: 'com.vladmihalcea', name: 'hibernate-types-52', version: '2.4.1'
|
||||
|
||||
|
||||
compile fileTree(dir: 'lib', include: '**/*.jar')
|
||||
|
||||
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.15'
|
||||
// compile 'javax.validation:validation-api:1.1.0.Final'
|
||||
compile('com.googlecode.log4jdbc:log4jdbc:1.2') {
|
||||
exclude(group: 'org.slf4j')
|
||||
}
|
||||
@@ -38,6 +42,8 @@ dependencies {
|
||||
|
||||
}
|
||||
|
||||
mainClassName = 'edu.msudenver.tsp.persistence.PersistenceApi'
|
||||
|
||||
task loadDb(type: Exec, group: 'Verification', description: 'Reloads the local database.') {
|
||||
if (OperatingSystem.current().isLinux() || OperatingSystem.current().isMacOsX()) {
|
||||
workingDir "./scripts/mysql"
|
||||
|
||||
@@ -7,6 +7,12 @@ version '1.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property "sonar.projectName", 'theorem Prover Services'
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
package edu.msudenver.tsp.website;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class HelloController {
|
||||
|
||||
@RequestMapping("/")
|
||||
public String index() {
|
||||
return "Welcome to Project Pandamonium!";
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package edu.msudenver.tsp.website;
|
||||
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan
|
||||
//@PropertySource("classpath:development.properties")
|
||||
public class WebsiteConfig {
|
||||
|
||||
|
||||
}
|
||||
@@ -7,6 +7,12 @@ version '1.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property "sonar.projectName", 'Pandamonium Utilities'
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user