aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle35
1 files changed, 6 insertions, 29 deletions
diff --git a/build.gradle b/build.gradle
index ab28eb8d..a3741657 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,10 +1,3 @@
-subprojects {
- apply plugin: 'java'
- repositories {
- mavenCentral()
- }
-}
-
buildscript {
repositories {
mavenCentral()
@@ -13,36 +6,20 @@ buildscript {
classpath 'org.akhikhl.gretty:gretty:+'
}
}
-
apply plugin: 'java'
-apply plugin: 'war'
-apply plugin: 'org.akhikhl.gretty'
repositories {
mavenCentral()
+ jcenter()
}
-
-def core = project(':deps:com.juick')
-def server = project(':deps:com.juick.server')
-
-project(':deps:com.juick.server') {
- dependencies {
- compile core
- }
-}
-
dependencies {
- compile core
- compile server
- providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
+ testCompile project(':juick-core')
+ testCompile 'org.springframework:spring-jdbc:4.3.1.RELEASE'
+ testCompile 'ch.vorburger.mariaDB4j:mariaDB4j:2.1.3'
+ testCompile 'org.slf4j:slf4j-jdk14:1.7.13'
testCompile 'junit:junit:4.12'
- providedRuntime 'mysql:mysql-connector-java:5.1.39'
+ testRuntime 'mysql:mysql-connector-java:5.1.39'
}
compileJava.options.encoding = 'UTF-8'
-gretty {
- httpPort = 8080
- contextPath = '/'
- servletContainer = 'tomcat8'
-}