diff --git a/build.gradle b/build.gradle deleted file mode 100644 index d9c253d74..000000000 --- a/build.gradle +++ /dev/null @@ -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 -} \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 000000000..a15023f8b --- /dev/null +++ b/build.gradle.kts @@ -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) +} diff --git a/settings.gradle b/settings.gradle.kts similarity index 85% rename from settings.gradle rename to settings.gradle.kts index c2e275d1d..19013eace 100644 --- a/settings.gradle +++ b/settings.gradle.kts @@ -8,5 +8,4 @@ pluginManagement { enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") rootProject.name = "EhViewer" -include ':app' -include ':native' +include(":app", ":native")