Skip to content

Commit e0bcc18

Browse files
Add the eclipse jdt package to gradle
Signed-off-by: angrezichatterbox <gouthammohanraj@gmail.com>
1 parent 6bbe867 commit e0bcc18

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

codegen/build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'com.android.library'
33
id 'org.jetbrains.kotlin.android'
4+
id 'org.jetbrains.kotlin.jvm'
45
}
56

67
android {
@@ -58,8 +59,9 @@ dependencies {
5859
implementation "org.junit.platform:junit-platform-launcher:$junitPlatformLauncherVersion"
5960
implementation "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
6061
implementation "org.junit.vintage:junit-vintage-engine:$junitVersion"
61-
// implementation 'org.eclipse.jdt:org.eclipse.jdt.core:3.32.0'
62+
implementation 'org.eclipse.jdt:org.eclipse.jdt.core:3.32.0'
6263
testImplementation project(':android-test-utils')
64+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
6365
}
6466

6567
file("src/test/resources/solidity").listFiles().each { File file ->
@@ -82,6 +84,12 @@ file("src/test/resources/solidity").listFiles().each { File file ->
8284
// test.dependsOn generateTask
8385
}
8486
}
87+
repositories {
88+
mavenCentral()
89+
}
90+
kotlin {
91+
jvmToolchain(21)
92+
}
8593
//
8694
//tasks.named("spotlessJava").configure {
8795
// dependsOn("spotlessGroovyGradle", "compileTestJava", "javadoc", "test", "jacocoTestReport")

0 commit comments

Comments
 (0)