forked from loafle/openapi-generator-original
* [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 20a2947447f5646ca4850304a26bdf76e630a497. * [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>
37 lines
857 B
Groovy
37 lines
857 B
Groovy
group 'org.openapitools'
|
|
version '1.0.0'
|
|
|
|
wrapper {
|
|
gradleVersion = '6.8.2'
|
|
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
|
|
}
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.4.20'
|
|
|
|
repositories {
|
|
maven { url "https://repo1.maven.org/maven2" }
|
|
}
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
repositories {
|
|
maven { url "https://repo1.maven.org/maven2" }
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
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.11.0"
|
|
compile "com.squareup.okhttp3:okhttp:4.9.0"
|
|
testCompile "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
|
}
|