mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-14 13:40:55 +00:00
44 lines
1.2 KiB
Groovy
44 lines
1.2 KiB
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.61'
|
|
ext.retrofitVersion = '2.6.2'
|
|
ext.rxJava2Version = '2.2.17'
|
|
|
|
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 "com.google.code.gson:gson:2.8.6"
|
|
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.0"
|
|
compile "com.squareup.okhttp3:logging-interceptor:4.4.0"
|
|
compile "io.reactivex.rxjava2:rxjava:$rxJava2Version"
|
|
compile "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
|
|
compile "com.squareup.retrofit2:retrofit:$retrofitVersion"
|
|
compile "com.squareup.retrofit2:converter-gson:$retrofitVersion"
|
|
compile "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
|
|
testCompile "io.kotlintest:kotlintest-runner-junit5:3.1.0"
|
|
}
|