Skip to content

Commit

Permalink
Upgrade kotlin metadata and match lint to androidx
Browse files Browse the repository at this point in the history
  • Loading branch information
bentrengrove committed Dec 10, 2024
1 parent d2d3fc1 commit 4a6828b
Show file tree
Hide file tree
Showing 7 changed files with 393 additions and 224 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ import org.gradle.api.tasks.TaskProvider
import org.gradle.kotlin.dsl.named
import org.gradle.kotlin.dsl.register

/**
* Originally from https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:buildSrc/public/src/main/kotlin/androidx/build/BundleInsideHelper.kt
* Small modifications based on gradle version
*/

/** Allow java and Android libraries to bundle other projects inside the project jar/aar. */
object BundleInsideHelper {
val CONFIGURATION_NAME = "bundleInside"
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "
kotlin-stdlibJdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
kotlin-metadataJvm = "org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.3.0"
kotlin-metadataJvm = { module = "org.jetbrains.kotlin:kotlin-metadata-jvm", version.ref = "kotlin" }

kotlin-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }

Expand Down
4 changes: 0 additions & 4 deletions permissions-lint/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ plugins {
id(libs.plugins.android.lint.get().pluginId)
}

kotlin {
explicitApi()
}

lint {
htmlReport = true
htmlOutput = file("lint-report.html")
Expand Down
Loading

0 comments on commit 4a6828b

Please sign in to comment.