forked from loafle/openapi-generator-original
38 lines
908 B
Groovy
38 lines
908 B
Groovy
group 'org.openapitools'
|
|
version '1.0.0'
|
|
|
|
wrapper {
|
|
gradleVersion = '6.8.3'
|
|
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
|
|
}
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.5.10'
|
|
ext.ktor_version = '1.6.7'
|
|
|
|
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 {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
implementation "com.google.code.gson:gson:2.8.7"
|
|
implementation "io.ktor:ktor-client-core:$ktor_version"
|
|
implementation "io.ktor:ktor-client-gson:$ktor_version"
|
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2"
|
|
}
|