forked from loafle/openapi-generator-original
* [Kotlin] Use Mutable container types when 'modelMutable' is enabled * Generate sample 'kotlin' project with mutable models * Generate sample 'kotlin-server' project with mutable models * Generate sample 'kotlin-vertx' project with mutable models * Generate sample 'ktorm-schema' project with mutable models Co-authored-by: Bruno Coelho <4brunu@users.noreply.github.com>
36 lines
791 B
Groovy
36 lines
791 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.72'
|
|
ext.ktorm_version = '3.2.0'
|
|
|
|
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 "org.ktorm:ktorm-core:$ktorm_version"
|
|
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.1.0"
|
|
}
|