William Brawner
8e6454cb72
Convert ErrorResponse to Kotlin Convert TwigsServerApplication to Kotlin Convert BudgetController to Kotlin Convert CategoryController to Kotlin Convert UserController to Kotlin Convert TransactionController to Kotlin Convert Budget models to Kotlin Convert Category models to Kotlin Convert PasswordResetRequest models to Kotlin Convert Transaction models to Kotlin Convert user models to Kotlin Convert permission models to Kotlin Conver session models to Kotlin Finish Kotlin conversions Fix more Kotlin conversion issues Remove swagger Use Kotlin DSL for Gradle scripts Signed-off-by: William Brawner <me@wbrawner.com> Resolve some warnings Move source to src/main/kotlin Move source to src/main/kotlin
37 lines
914 B
Text
37 lines
914 B
Text
import java.net.URI
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
buildscript {
|
|
val kotlinVersion: String by extra("1.5.10")
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url = java.net.URI("https://repo.spring.io/snapshot") }
|
|
maven { url = java.net.URI("https://repo.spring.io/milestone") }
|
|
}
|
|
|
|
dependencies {
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.2.4.RELEASE")
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
java
|
|
kotlin("jvm") version "1.5.10"
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven {
|
|
url = URI("http://repo.maven.apache.org/maven2")
|
|
}
|
|
}
|
|
group = "com.wbrawner"
|
|
version = "0.0.1-SNAPSHOT"
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions.jvmTarget = "14"
|
|
}
|
|
}
|