aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-16 10:46:23 +0300
committerGravatar Vitaly Takmazov2018-03-16 10:46:23 +0300
commit9ef168a03b75aeca0c2f7dda9ce87d4014c703a9 (patch)
tree8ace0ada0f576d97592f8bc84803a2dcf3e7a244 /build.gradle
parent7cadae166b103182d7d1daaafe602cd8fb145c53 (diff)
merge common projects
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle26
1 files changed, 13 insertions, 13 deletions
diff --git a/build.gradle b/build.gradle
index 44c69936..91d6d56c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -8,7 +8,7 @@ buildscript {
}
}
plugins {
- id 'org.springframework.boot' version '2.0.0.RELEASE'
+ id 'org.springframework.boot' version '2.0.0.RELEASE' apply false
}
allprojects {
repositories {
@@ -17,11 +17,15 @@ allprojects {
maven { url "https://jitpack.io" }
maven { url "https://repository.apache.org/content/repositories/snapshots/" }
}
- apply plugin: 'java'
- apply plugin: 'org.springframework.boot'
+
apply plugin: 'io.spring.dependency-management'
- apply plugin: 'com.github.ben-manes.versions'
+ dependencyManagement {
+ imports {
+ mavenBom org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES
+ }
+ }
+ apply plugin: 'com.github.ben-manes.versions'
dependencyUpdates.resolutionStrategy = {
componentSelection { rules ->
rules.all { ComponentSelection selection ->
@@ -36,19 +40,15 @@ allprojects {
}
}
-repositories {
- jcenter()
-}
+apply plugin: 'java'
+
dependencies {
- testCompile project(':juick-core')
- testCompile project(':juick-www')
+ compile project(':juick-common')
testCompile "org.json:json:20180130"
- compile("org.springframework.boot:spring-boot-starter-jdbc")
- compile("org.springframework.boot:spring-boot-starter-test")
+ testCompile("org.springframework.boot:spring-boot-starter-jdbc")
+ testCompile("org.springframework.boot:spring-boot-starter-test")
testRuntime "mysql:mysql-connector-java:5.1.40"
testRuntime "org.postgresql:postgresql:42.2.1"
}
-compileJava.options.encoding = 'UTF-8'
-