build(frontend): Drop unnecessary DB-related dependencies (#1741)

* refactor(frontend): Drop unnecessary DB-related dependencies

* Drop unused dependencies from top-level build script
This commit is contained in:
Mars Lan 2020-07-22 19:43:30 -07:00 committed by GitHub
parent 00d89115b2
commit dec2ce9152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View File

@ -63,7 +63,6 @@ project.ext.externalDependency = [
'parseqTest': 'com.linkedin.parseq:parseq:3.0.7:test', 'parseqTest': 'com.linkedin.parseq:parseq:3.0.7:test',
'playDocs': 'com.typesafe.play:play-docs_2.11:2.6.18', 'playDocs': 'com.typesafe.play:play-docs_2.11:2.6.18',
'playGuice': 'com.typesafe.play:play-guice_2.11:2.6.18', 'playGuice': 'com.typesafe.play:play-guice_2.11:2.6.18',
'playJavaJdbc': 'com.typesafe.play:play-java-jdbc_2.11:2.6.18',
'playTest': 'com.typesafe.play:play-test_2.11:2.6.18', 'playTest': 'com.typesafe.play:play-test_2.11:2.6.18',
'postgresql': 'org.postgresql:postgresql:42.2.14', 'postgresql': 'org.postgresql:postgresql:42.2.14',
'reflections': 'org.reflections:reflections:0.9.11', 'reflections': 'org.reflections:reflections:0.9.11',
@ -72,7 +71,6 @@ project.ext.externalDependency = [
'springBeans': 'org.springframework:spring-beans:5.2.3.RELEASE', 'springBeans': 'org.springframework:spring-beans:5.2.3.RELEASE',
'springContext': 'org.springframework:spring-context:5.2.3.RELEASE', 'springContext': 'org.springframework:spring-context:5.2.3.RELEASE',
'springCore': 'org.springframework:spring-core:5.2.3.RELEASE', 'springCore': 'org.springframework:spring-core:5.2.3.RELEASE',
'springJdbc': 'org.springframework:spring-jdbc:5.2.3.RELEASE',
'springWeb': 'org.springframework:spring-web:5.2.3.RELEASE', 'springWeb': 'org.springframework:spring-web:5.2.3.RELEASE',
'springBootStarterWeb': 'org.springframework.boot:spring-boot-starter-web:2.1.2.RELEASE', 'springBootStarterWeb': 'org.springframework.boot:spring-boot-starter-web:2.1.2.RELEASE',
'springBootStarterJetty': 'org.springframework.boot:spring-boot-starter-jetty:2.1.2.RELEASE', 'springBootStarterJetty': 'org.springframework.boot:spring-boot-starter-jetty:2.1.2.RELEASE',
@ -123,4 +121,4 @@ subprojects {
} }
} }
} }
} }

View File

@ -19,15 +19,11 @@ dependencies {
play externalDependency.jerseyCore play externalDependency.jerseyCore
play externalDependency.jerseyGuava play externalDependency.jerseyGuava
play externalDependency.mysqlConnector
play externalDependency.playJavaJdbc
play externalDependency.springJdbc
playTest externalDependency.mockito playTest externalDependency.mockito
playTest externalDependency.playTest playTest externalDependency.playTest
playRun externalDependency.guice playRun externalDependency.guice
playRun externalDependency.h2
playRun externalDependency.playDocs playRun externalDependency.playDocs
playRun externalDependency.playGuice playRun externalDependency.playGuice
} }
@ -68,4 +64,4 @@ task unzipAssets(type: Copy, dependsOn: configurations.assets) {
task moveAssets(type: Copy, dependsOn: unzipAssets) { task moveAssets(type: Copy, dependsOn: unzipAssets) {
into "${buildDir}/assets" into "${buildDir}/assets"
from ("${buildDir}/assets/assets") from ("${buildDir}/assets/assets")
} }