From c36cc6538d049c8dbe96b365d61d3ecd54f28351 Mon Sep 17 00:00:00 2001 From: Tyler Wong Date: Tue, 22 Oct 2024 16:46:25 -0700 Subject: [PATCH] Prepare 0.4.0-alpha02 --- .editorconfig | 14 +++++++++++++- gradle/libs.versions.toml | 10 +++++----- plugin/build.gradle.kts | 7 +------ 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.editorconfig b/.editorconfig index a660f66..abc022a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,15 @@ -[*.{kt,kts,gradle}] +root = true + +[*] +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{kt,kts}] +indent_size = 4 +ij_kotlin_packages_to_use_import_on_demand = unset +ij_kotlin_name_count_to_use_star_import = 999 +ij_kotlin_name_count_to_use_star_import_for_members = 999 ij_kotlin_allow_trailing_comma_on_call_site=true ij_kotlin_allow_trailing_comma=true +ktlint_code_style=intellij_idea diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4206245..b35b164 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,11 +1,11 @@ [versions] -androidGradle = "8.7.0" -androidx-compose-runtime = "1.7.3" -junit = "5.11.1" -kotlin = "2.0.20" +androidGradle = "8.7.1" +androidx-compose-runtime = "1.7.4" +junit = "5.11.3" +kotlin = "2.0.21" ktlintGradle = "12.1.1" pluginPublish = "1.3.0" -metalavaGradle = "0.3.5" +metalavaGradle = "0.4.0-alpha01" [plugins] compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index fabba36..73b7aef 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -14,7 +14,7 @@ repositories { } group = "me.tylerbwong.gradle.metalava" -version = "0.4.0-alpha01" +version = "0.4.0-alpha02" gradlePlugin { website.set("https://github.com/tylerbwong/metalava-gradle") @@ -30,13 +30,8 @@ gradlePlugin { } } -ktlint { - version.set("0.47.1") -} - metalava { filename.set("api/${project.version}.txt") - sourcePaths.setFrom("src/main") } tasks.test {