Skip to content

Commit 58224f9

Browse files
committed
Bump to gradle 7.5
1 parent 225e84e commit 58224f9

File tree

7 files changed

+193
-136
lines changed

7 files changed

+193
-136
lines changed

annotation-processor/build.gradle

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ apply plugin: 'kotlin'
22
apply plugin: 'kotlin-kapt'
33

44
dependencies {
5-
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
6-
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
7-
implementation "com.squareup:kotlinpoet:$kotlinpoet_version"
8-
implementation "com.squareup:kotlinpoet-metadata:$kotlinpoet_version"
5+
api("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version")
6+
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlin_version")
7+
implementation("com.squareup:kotlinpoet:$kotlinpoet_version")
8+
implementation("com.squareup:kotlinpoet-metadata:$kotlinpoet_version")
99

10-
api 'org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final'
10+
api("org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final")
1111

12-
api project(":runtime")
12+
api(project(":runtime"))
1313

14-
testCompile 'org.junit.jupiter:junit-jupiter:5.8.2'
15-
testCompile 'org.assertj:assertj-core:3.23.1'
16-
testRuntime 'ch.qos.logback:logback-classic:1.2.11'
17-
testCompile("io.github.jbock-java:compile-testing:0.19.12")
14+
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
15+
testImplementation("org.assertj:assertj-core:3.23.1")
16+
testRuntimeOnly("ch.qos.logback:logback-classic:1.2.11")
17+
testImplementation("io.github.jbock-java:compile-testing:0.19.12")
1818
}
1919

2020
tasks.test {

example/build.gradle

+12-12
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ apply plugin: 'kotlin-kapt'
33
apply plugin: 'kotlinx-serialization'
44

55
dependencies {
6-
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
7-
api 'org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2'
6+
api("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version")
7+
api("org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2")
88

9-
api project(":runtime")
10-
api project(":runtime-postgresql")
11-
api project(":annotation-processor")
12-
kapt project(":annotation-processor")
9+
api(project(":runtime"))
10+
api(project(":runtime-postgresql"))
11+
api(project(":annotation-processor"))
12+
kapt(project(":annotation-processor"))
1313

1414
implementation("com.h2database:h2:2.1.210")
1515
implementation("org.postgresql:postgresql:42.4.0")
1616
implementation("org.flywaydb:flyway-core:8.5.13")
1717
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0-RC")
1818

19-
testCompile 'org.junit.jupiter:junit-jupiter:5.5.2'
20-
testCompile 'org.testcontainers:testcontainers:1.17.2'
21-
testCompile 'org.testcontainers:junit-jupiter:1.17.2'
22-
testCompile 'org.testcontainers:postgresql:1.17.2'
23-
testCompile 'org.assertj:assertj-core:3.23.1'
24-
testRuntime 'ch.qos.logback:logback-classic:1.2.11'
19+
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
20+
testImplementation("org.testcontainers:testcontainers:1.17.2")
21+
testImplementation("org.testcontainers:junit-jupiter:1.17.2")
22+
testImplementation("org.testcontainers:postgresql:1.17.2")
23+
testImplementation("org.assertj:assertj-core:3.23.1")
24+
testRuntimeOnly("ch.qos.logback:logback-classic:1.2.11")
2525
}
2626

2727
tasks.test {

example/src/test/resources/logback.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
</encoder>
66
</appender>
77

8-
<root level="info">
8+
<root level="INFO">
99
<appender-ref ref="STDOUT" />
1010
</root>
1111

12-
<logger name="Exposed" level="debug">
13-
<appender-ref ref="CONSOLE"/>
12+
<logger name="Exposed" level="DEBUG">
13+
<appender-ref ref="STDOUT"/>
1414
</logger>
1515

1616
</configuration>

gradle/wrapper/gradle-wrapper.jar

1.52 KB
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)