forked from loafle/openapi-generator-original
* [kotlin] update dependencies * [kotlin][client] complete gson integration * [kotlin][client] run petstores * [kotlin][client] fix JsonMediaType and update petstores * Add kotlin client gson to pom.xml * Remove org.json dependency * Try to fix kotlin-gson build * Add kotlin client nonpublic to pom.xml * Update samples * try to fix build * try to fix build * try to fix build * try to fix build * [kotlin][client] restore libraries version * [kotlin][client] update kotlin version * [kotlin][client] update some libraries versions * [kotlin][client] update some libraries versions * [kotlin][client] add kotlin-gson and kotlin-nonpublic to CI test suit * [kotlin][client] update some libraries versions * try to fix build * try to fix build
38 lines
844 B
Groovy
38 lines
844 B
Groovy
group 'org.openapitools'
|
|
version '1.0.0'
|
|
|
|
wrapper {
|
|
gradleVersion = '4.9'
|
|
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
|
|
}
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.50'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
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.8.0"
|
|
compile "com.squareup.moshi:moshi-adapters:1.8.0"
|
|
compile "com.squareup.okhttp3:okhttp:4.2.2"
|
|
testCompile "io.kotlintest:kotlintest-runner-junit5:3.1.0"
|
|
}
|