Skip to content

Commit 9106867

Browse files
authored
chore(java-shell): update gradle wrapper and kotlin plugin (#1025)
* chore(java-shell): update gradle wrapper and kotlin plugin * chore(java-shell): replace deprecated `compile` with `implementation` in build.gradle * chore(java-shell): fix cli module compilation
1 parent 69be47f commit 9106867

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

packages/java-shell/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'java'
3-
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
3+
id 'org.jetbrains.kotlin.jvm' version '1.5.21'
44
id "com.github.node-gradle.node" version "2.2.0"
55
}
66

@@ -27,10 +27,10 @@ compileJava.dependsOn browserifyShellApi
2727

2828
dependencies {
2929
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
30-
testCompile group: 'junit', name: 'junit', version: '4.12'
31-
compile group: 'org.graalvm.js', name: 'js', version: '20.2.0'
32-
compile group: 'org.mongodb', name: 'mongodb-driver-sync', version: '4.2.0'
33-
compile group: 'org.apache.commons', name: 'commons-text', version: '1.8'
30+
testImplementation group: 'junit', name: 'junit', version: '4.12'
31+
implementation group: 'org.graalvm.js', name: 'js', version: '20.2.0'
32+
implementation group: 'org.mongodb', name: 'mongodb-driver-sync', version: '4.2.0'
33+
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.8'
3434
}
3535

3636
compileKotlin {

packages/java-shell/cli/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ plugins {
55
}
66

77
dependencies {
8-
compile rootProject
8+
implementation rootProject
9+
implementation group: 'org.mongodb', name: 'mongodb-driver-sync', version: '4.2.0'
910
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
1011
}
1112

Lines changed: 1 addition & 1 deletion
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.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)