@@ -41,8 +41,8 @@ tasks.named('generateGrammarSource') {
4141
4242tasks. named(' compileTestGroovy' ) {
4343 dependsOn ' compileKotlin'
44- classpath + = files(compileKotlin. destinationDir )
45- classpath + = files(compileTestKotlin. destinationDir )
44+ classpath + = files(compileKotlin. destinationDirectory )
45+ classpath + = files(compileTestKotlin. destinationDirectory )
4646}
4747
4848kotlin {
@@ -53,7 +53,6 @@ kotlin {
5353
5454tasks. named(' compileKotlin' ) {
5555 dependsOn ' generateGrammarSource'
56-
5756 kotlinOptions. jvmTarget = " 1.8"
5857}
5958
@@ -73,7 +72,6 @@ dependencies {
7372 antlr (libs. antlr)
7473
7574 compileOnly libs. openapi. processor. api
76- // implementation platform("org.jetbrains.kotlin:kotlin-bom:1.6.21")
7775
7876 implementation (libs. openapi4j)
7977 implementation (libs. swagger) {
@@ -101,7 +99,6 @@ dependencies {
10199 testImplementation (libs. spock)
102100 testImplementation (libs. logback)
103101 testImplementation (libs. jimfs)
104- testImplementation (libs. guava)
105102
106103 testIntImplementation (libs. openapi. processor. api)
107104 testIntImplementation (libs. openapi. processor. test)
@@ -113,7 +110,6 @@ dependencies {
113110 testIntImplementation (libs. spock)
114111 testIntImplementation (libs. logback)
115112 testIntImplementation (libs. jimfs)
116- testIntImplementation (libs. guava)
117113
118114 constraints {
119115 implementation(libs. guava) {
@@ -122,6 +118,20 @@ dependencies {
122118 implementation(libs. snakeyaml) {
123119 because(" vulnerabilities in 1.31" )
124120 }
121+
122+ testImplementation(libs. guava) {
123+ because(" avoid the android version" )
124+ }
125+ testImplementation(libs. snakeyaml) {
126+ because(" vulnerabilities in 1.31" )
127+ }
128+
129+ testIntImplementation(libs. guava) {
130+ because(" avoid the android version" )
131+ }
132+ testIntImplementation(libs. snakeyaml) {
133+ because(" vulnerabilities in 1.31" )
134+ }
125135 }
126136}
127137
0 commit comments