[kotlin][client] update dependencies (#8673)

* [kotlin] update pom.xml

* [kotlin] update pom.xml

* [kotlin][client] update dependencies

* [kotlin][client] restore gradle

* [kotlin][client] try to fix CI

* Revert "[kotlin][client] restore gradle"

This reverts commit 20a2947447.

* [kotlin][client] try to fix CI

* [kotlin][client] try to fix CI

* [kotlin][client] try to fix CI

* install gradle

* [kotlin][client] try to fix CI

* [kotlin][client] try to fix CI

* [kotlin][client] disable integration tests

Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
Bruno Coelho
2021-02-11 14:32:29 +00:00
committed by GitHub
parent 47e697e492
commit 23de86a434
40 changed files with 410 additions and 425 deletions

View File

@@ -2,12 +2,12 @@ group 'org.openapitools'
version '1.0.0'
wrapper {
gradleVersion = '4.9'
gradleVersion = '6.8.2'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}
buildscript {
ext.kotlin_version = '1.3.61'
ext.kotlin_version = '1.4.20'
repositories {
maven { url "https://repo1.maven.org/maven2" }
@@ -30,8 +30,7 @@ test {
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "com.squareup.moshi:moshi-kotlin:1.9.2"
compile "com.squareup.moshi:moshi-adapters:1.9.2"
compile "com.squareup.okhttp3:okhttp:4.2.2"
testCompile "io.kotlintest:kotlintest-runner-junit5:3.1.0"
compile "com.squareup.moshi:moshi-kotlin:1.11.0"
compile "com.squareup.okhttp3:okhttp:4.9.0"
testCompile "io.kotlintest:kotlintest-runner-junit5:3.4.2"
}

View File

@@ -27,7 +27,7 @@
<version>1.2.1</version>
<executions>
<execution>
<id>bundle-test</id>
<id>bundle-install</id>
<phase>integration-test</phase>
<goals>
<goal>exec</goal>
@@ -35,7 +35,20 @@
<configuration>
<executable>gradle</executable>
<arguments>
<argument>test</argument>
<argument>wrapper</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>bundle-test</id>
<phase>integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>./gradlew</executable>
<arguments>
<argument>build</argument>
</arguments>
</configuration>
</execution>