Convert all buildscript to kts

This commit is contained in:
tarsin committed 2023-02-03 11:01:32 +08:00
1 parent b8d71e24e7
commit 2c5646b1c2
3 files changed
+19 -20

No files matched your search

-18
View File
@@ -1,18 +0,0 @@
plugins {
id 'com.android.application' version '8.0.0-beta01' apply false
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
id 'org.jetbrains.kotlin.plugin.serialization' version '1.8.10' apply false
id 'com.google.devtools.ksp' version '1.8.10-1.0.9' apply false
}
repositories {
google()
mavenCentral()
maven { url "https://jcenter.bintray.com" }
maven { url "https://jitpack.io" }
maven { url "https://androidx.dev/storage/compose-compiler/repository/" }
}
task clean(type: Delete) {
delete rootProject.buildDir
}
+18
View File
@@ -0,0 +1,18 @@
plugins {
id("com.android.application") version "8.0.0-beta01" apply false
kotlin("android") version "1.8.10" apply false
kotlin("plugin.serialization") version "1.8.10" apply false
id("com.google.devtools.ksp") version "1.8.10-1.0.9" apply false
}
repositories {
google()
mavenCentral()
maven("https://jcenter.bintray.com")
maven("https://jitpack.io")
maven("https://androidx.dev/storage/compose-compiler/repository/")
}
tasks.register("Delete", Delete::class) {
delete(rootProject.buildDir)
}
+1 -2
View File
@@ -8,5 +8,4 @@ pluginManagement {
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
rootProject.name = "EhViewer"
include ':app'
include ':native'
include(":app", ":native")