PAN-7 Updated the build.gradle files
This commit is contained in:
@@ -78,8 +78,8 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bootJar {
|
bootWar {
|
||||||
baseName = 'gs-spring-boot'
|
baseName = 'ptp-web-server'
|
||||||
version = '0.1.0'
|
version = '0.1.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import org.gradle.internal.os.OperatingSystem
|
import org.gradle.internal.os.OperatingSystem
|
||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
|
id 'application'
|
||||||
}
|
}
|
||||||
|
|
||||||
description = 'Provides database access and connectivity'
|
description = 'Provides database access and connectivity'
|
||||||
@@ -9,6 +10,12 @@ version '1.0'
|
|||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
sonarqube {
|
||||||
|
properties {
|
||||||
|
property "sonar.projectName", 'Persistence Tier'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
@@ -17,17 +24,14 @@ dependencies {
|
|||||||
compile group: 'org.springframework.data', name: 'spring-data-jpa', version: '2.0.5.RELEASE'
|
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.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-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.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.springframework', name: 'spring-aspects', version: '5.1.5.RELEASE'
|
||||||
compile group: 'org.hibernate', name: 'hibernate-core', version: '5.4.1.Final'
|
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 group: 'com.vladmihalcea', name: 'hibernate-types-52', version: '2.4.1'
|
||||||
|
|
||||||
|
|
||||||
compile fileTree(dir: 'lib', include: '**/*.jar')
|
compile fileTree(dir: 'lib', include: '**/*.jar')
|
||||||
|
|
||||||
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.15'
|
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') {
|
compile('com.googlecode.log4jdbc:log4jdbc:1.2') {
|
||||||
exclude(group: 'org.slf4j')
|
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.') {
|
task loadDb(type: Exec, group: 'Verification', description: 'Reloads the local database.') {
|
||||||
if (OperatingSystem.current().isLinux() || OperatingSystem.current().isMacOsX()) {
|
if (OperatingSystem.current().isLinux() || OperatingSystem.current().isMacOsX()) {
|
||||||
workingDir "./scripts/mysql"
|
workingDir "./scripts/mysql"
|
||||||
|
|||||||
@@ -7,6 +7,12 @@ version '1.0'
|
|||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
sonarqube {
|
||||||
|
properties {
|
||||||
|
property "sonar.projectName", 'theorem Prover Services'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
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
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
sonarqube {
|
||||||
|
properties {
|
||||||
|
property "sonar.projectName", 'Pandamonium Utilities'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user