|
1 | 1 | buildscript {
|
| 2 | + ext { |
| 3 | + springBootVersion = '2.5.6' |
| 4 | + } |
| 5 | + |
2 | 6 | repositories {
|
3 |
| - maven { url "https://repo.spring.io/libs-release" } |
4 | 7 | mavenLocal()
|
5 | 8 | mavenCentral()
|
6 | 9 | jcenter()
|
7 | 10 | }
|
8 |
| - dependencies { |
9 |
| - classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.1.5.RELEASE', |
10 |
| - 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0' |
11 |
| - } |
| 11 | + |
| 12 | + |
| 13 | +} |
| 14 | + |
| 15 | +plugins { |
| 16 | + id 'org.springframework.boot' version '2.5.6' |
| 17 | + id 'io.spring.dependency-management' version '1.0.11.RELEASE' |
| 18 | + id 'java' |
| 19 | + id 'idea' |
| 20 | + id 'eclipse' |
| 21 | + id "com.github.hierynomus.license" version "0.15.0" |
12 | 22 | }
|
13 | 23 |
|
14 |
| -apply plugin: 'java' |
15 |
| -apply plugin: 'idea' |
16 |
| -apply plugin: 'eclipse' |
17 |
| -apply plugin: 'spring-boot' |
18 |
| -apply plugin: 'license' |
| 24 | + |
| 25 | +sourceCompatibility = '11' |
19 | 26 |
|
20 | 27 | if (project.hasProperty('profile')
|
21 | 28 | && project.getProperty('profile') == 'deployable') {
|
@@ -43,18 +50,18 @@ task licenseFormatBuildScripts (type:nl.javadude.gradle.plugins.license.License)
|
43 | 50 | licenseFormat.dependsOn licenseFormatBuildScripts
|
44 | 51 |
|
45 | 52 | dependencies {
|
46 |
| - compile("org.springframework.boot:spring-boot-starter-web") |
47 |
| - compile("org.springframework.boot:spring-boot-starter-actuator") |
48 |
| - compile("org.springframework.boot:spring-boot-starter-data-jpa") |
49 |
| - compile("org.flywaydb:flyway-core") |
50 |
| - compile('org.apache.velocity:velocity:1.7') |
51 |
| - compile('com.squareup.okhttp:okhttp:2.0.0') |
52 |
| - compile('com.squareup.okhttp:okhttp-urlconnection:2.0.0') |
53 |
| - compile('com.squareup.retrofit:retrofit:1.6.1') |
54 |
| - compile('com.twilio.sdk:twilio:7.1.0') |
55 |
| - compile('org.drizzle.jdbc:drizzle-jdbc:1.3') |
56 |
| - compile('com.infobip:infobip-api-java-client:1.1.0') |
57 |
| - testCompile("org.springframework.boot:spring-boot-starter-test") |
| 53 | + implementation("org.springframework.boot:spring-boot-starter-web") |
| 54 | + implementation("org.springframework.boot:spring-boot-starter-actuator") |
| 55 | + implementation("org.springframework.boot:spring-boot-starter-data-jpa") |
| 56 | + implementation("org.flywaydb:flyway-core") |
| 57 | + implementation('org.apache.velocity:velocity:1.7') |
| 58 | + implementation('com.squareup.okhttp:okhttp:2.0.0') |
| 59 | + implementation('com.squareup.okhttp:okhttp-urlconnection:2.0.0') |
| 60 | + implementation('com.squareup.retrofit:retrofit:1.6.1') |
| 61 | + implementation('com.twilio.sdk:twilio:7.1.0') |
| 62 | + implementation('org.drizzle.jdbc:drizzle-jdbc:1.3') |
| 63 | + implementation('com.infobip:infobip-api-java-client:1.1.0') |
| 64 | + testImplementation("org.springframework.boot:spring-boot-starter-test") |
58 | 65 |
|
59 | 66 | }
|
60 | 67 |
|
|
0 commit comments