Skip to content

Commit

Permalink
anton-liauchuk#2 Update libraries to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-liauchuk committed Oct 31, 2020
1 parent 823ab40 commit 20d8f83
Show file tree
Hide file tree
Showing 22 changed files with 109 additions and 95 deletions.
8 changes: 4 additions & 4 deletions administration/application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "org.assertj:assertj-core:${Versions.assertj}"
}

test {
Expand Down
4 changes: 2 additions & 2 deletions administration/integration-events/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ dependencies {
implementation project(':common')
implementation 'org.springframework:spring-context'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}
18 changes: 9 additions & 9 deletions administration/web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation 'io.rest-assured:rest-assured:4.2.0'
testImplementation 'io.rest-assured:json-path:4.2.0'
testImplementation 'io.rest-assured:xml-path:4.2.0'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "org.assertj:assertj-core:${Versions.assertj}"
testImplementation "io.rest-assured:rest-assured:${Versions.restAssured}"
testImplementation "io.rest-assured:json-path:${Versions.restAssured}"
testImplementation "io.rest-assured:xml-path:${Versions.restAssured}"

testCompileOnly 'org.projectlombok:lombok:1.18.10'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.10'
testCompileOnly "org.projectlombok:lombok:${Versions.lombok}"
testAnnotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}

test {
Expand Down
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id("io.spring.dependency-management") version "${springDependencyManagementPlugin}"
}

allprojects {
Expand All @@ -13,14 +13,13 @@ subprojects {
apply plugin: 'io.spring.dependency-management'
apply plugin: 'java-library'

// todo change
group = 'com.user'
group = 'com.educational.platform'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'

dependencyManagement {
imports {
mavenBom("org.springframework.boot:spring-boot-dependencies:2.2.1.RELEASE")
mavenBom("org.springframework.boot:spring-boot-dependencies:${Versions.spring}")
}
}
}
Expand Down
12 changes: 12 additions & 0 deletions buildSrc/src/main/java/Dependencies.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
interface Versions {
String spring = "2.3.4.RELEASE";
String restAssured = "4.2.0";
String mockito = "3.6.0";
String assertj = "3.18.0";
String archunit = "0.14.1";
String axon = "4.4.3";
String swagger = "3.0.0";
String lombok = "1.18.16";
String jsonwebtoken = "0.9.1";
String passay = "1.6.0";
}
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
api ('org.axonframework:axon-spring-boot-starter:4.3.4') {
api ("org.axonframework:axon-spring-boot-starter:${Versions.axon}") {
exclude group: "org.axonframework", module: "axon-server-connector"
}

Expand Down
6 changes: 3 additions & 3 deletions configuration/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.springframework.boot" version "2.2.1.RELEASE"
id "org.springframework.boot" version "2.3.4.RELEASE"
}

dependencies {
Expand Down Expand Up @@ -30,8 +30,8 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'

testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'com.tngtech.archunit:archunit-junit5:0.14.1'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "com.tngtech.archunit:archunit-junit5:${Versions.archunit}"
}

test {
Expand Down
8 changes: 4 additions & 4 deletions course-enrollments/application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "org.assertj:assertj-core:${Versions.assertj}"
}

test {
Expand Down
4 changes: 2 additions & 2 deletions course-enrollments/integration-events/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ dependencies {
implementation project(':common')
implementation 'org.springframework:spring-context'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}
18 changes: 9 additions & 9 deletions course-enrollments/web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation project(':users:users-web')
testImplementation project(':security:security-test')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation 'io.rest-assured:rest-assured:4.2.0'
testImplementation 'io.rest-assured:json-path:4.2.0'
testImplementation 'io.rest-assured:xml-path:4.2.0'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "org.assertj:assertj-core:${Versions.assertj}"
testImplementation "io.rest-assured:rest-assured:${Versions.restAssured}"
testImplementation "io.rest-assured:json-path:${Versions.restAssured}"
testImplementation "io.rest-assured:xml-path:${Versions.restAssured}"

testCompileOnly 'org.projectlombok:lombok:1.18.10'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.10'
testCompileOnly "org.projectlombok:lombok:${Versions.lombok}"
testAnnotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}

test {
Expand Down
8 changes: 4 additions & 4 deletions course-reviews/application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "org.assertj:assertj-core:${Versions.assertj}"
}

test {
Expand Down
4 changes: 2 additions & 2 deletions course-reviews/integration-events/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ dependencies {
implementation project(':common')
implementation 'org.springframework:spring-context'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}
18 changes: 9 additions & 9 deletions course-reviews/web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation project(':users:users-web')
testImplementation project(':security:security-test')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation 'io.rest-assured:rest-assured:4.2.0'
testImplementation 'io.rest-assured:json-path:4.2.0'
testImplementation 'io.rest-assured:xml-path:4.2.0'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "org.assertj:assertj-core:${Versions.assertj}"
testImplementation "io.rest-assured:rest-assured:${Versions.restAssured}"
testImplementation "io.rest-assured:json-path:${Versions.restAssured}"
testImplementation "io.rest-assured:xml-path:${Versions.restAssured}"

testCompileOnly 'org.projectlombok:lombok:1.18.10'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.10'
testCompileOnly "org.projectlombok:lombok:${Versions.lombok}"
testAnnotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}

test {
Expand Down
12 changes: 6 additions & 6 deletions courses/application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "org.assertj:assertj-core:${Versions.assertj}"

testCompileOnly 'org.projectlombok:lombok:1.18.10'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.10'
testCompileOnly "org.projectlombok:lombok:${Versions.lombok}"
testAnnotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}

test {
Expand Down
4 changes: 2 additions & 2 deletions courses/integration-events/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ dependencies {
implementation project(':common')
implementation 'org.springframework:spring-context'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}
18 changes: 9 additions & 9 deletions courses/web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation project(':users:users-web')
testImplementation project(':security:security-test')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation 'io.rest-assured:rest-assured:4.2.0'
testImplementation 'io.rest-assured:json-path:4.2.0'
testImplementation 'io.rest-assured:xml-path:4.2.0'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "org.assertj:assertj-core:${Versions.assertj}"
testImplementation "io.rest-assured:rest-assured:${Versions.restAssured}"
testImplementation "io.rest-assured:json-path:${Versions.restAssured}"
testImplementation "io.rest-assured:xml-path:${Versions.restAssured}"

testCompileOnly 'org.projectlombok:lombok:1.18.10'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.10'
testCompileOnly "org.projectlombok:lombok:${Versions.lombok}"
testAnnotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}

test {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
springDependencyManagementPlugin=1.0.10.RELEASE
6 changes: 3 additions & 3 deletions security/test/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
implementation project(':users:users-web')
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'io.rest-assured:rest-assured:4.2.0'
implementation 'io.rest-assured:json-path:4.2.0'
implementation 'io.rest-assured:xml-path:4.2.0'
implementation "io.rest-assured:rest-assured:${Versions.restAssured}"
implementation "io.rest-assured:json-path:${Versions.restAssured}"
implementation "io.rest-assured:xml-path:${Versions.restAssured}"
}
15 changes: 8 additions & 7 deletions users/application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ dependencies {
implementation project(':users:users-integration-events')

implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'org.passay:passay:1.5.0'
implementation "io.jsonwebtoken:jjwt:${Versions.jsonwebtoken}"
implementation "org.passay:passay:${Versions.passay}"

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.rest-assured:rest-assured:4.2.0'
testImplementation 'io.rest-assured:json-path:4.2.0'
testImplementation 'io.rest-assured:xml-path:4.2.0'
testImplementation "io.rest-assured:rest-assured:${Versions.restAssured}"
testImplementation "io.rest-assured:json-path:${Versions.restAssured}"
testImplementation "io.rest-assured:xml-path:${Versions.restAssured}"
}

compileJava {
Expand Down
4 changes: 2 additions & 2 deletions users/integration-events/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ dependencies {
implementation project(':common')
implementation 'org.springframework:spring-context'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}
18 changes: 9 additions & 9 deletions users/web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'

compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly "org.projectlombok:lombok:${Versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${Versions.lombok}"

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.0'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation 'io.rest-assured:rest-assured:4.2.0'
testImplementation 'io.rest-assured:json-path:4.2.0'
testImplementation 'io.rest-assured:xml-path:4.2.0'
testImplementation "org.mockito:mockito-junit-jupiter:${Versions.mockito}"
testImplementation "org.assertj:assertj-core:${Versions.assertj}"
testImplementation "io.rest-assured:rest-assured:${Versions.restAssured}"
testImplementation "io.rest-assured:json-path:${Versions.restAssured}"
testImplementation "io.rest-assured:xml-path:${Versions.restAssured}"

testCompileOnly 'org.projectlombok:lombok:1.18.10'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.10'
testCompileOnly "org.projectlombok:lombok:${Versions.lombok}"
testAnnotationProcessor "org.projectlombok:lombok:${Versions.lombok}"
}

test {
Expand Down
Loading

0 comments on commit 20d8f83

Please sign in to comment.