WIP: Modernize the Stack Kotlin Edition

This commit is contained in:
Fabian Wiesel
2024-02-18 21:57:29 +01:00
parent 946de1d65b
commit cd6c4b60a6
24 changed files with 1398 additions and 1496 deletions

View File

@@ -1,17 +1,44 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '1.9.22'
}
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.9.22'
}
allprojects {
repositories {
mavenCentral()
google()
}
}
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
}
}