diff --git a/.gitignore b/.gitignore index a473bb6..38a9667 100644 --- a/.gitignore +++ b/.gitignore @@ -87,4 +87,6 @@ lint/tmp/ # lint/reports/ # Android Profiling -*.hprof \ No newline at end of file +*.hprof + +.kotlin \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 3c24bf5..7b0616d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,5 @@ plugins { id("com.android.library") version "8.5.0" apply false id("org.jetbrains.kotlin.android") version "2.0.0" apply false + id("org.jetbrains.kotlin.plugin.compose") version "2.0.0" apply false } \ No newline at end of file diff --git a/material-color/build.gradle.kts b/material-color/build.gradle.kts index f784406..4703be7 100644 --- a/material-color/build.gradle.kts +++ b/material-color/build.gradle.kts @@ -14,13 +14,14 @@ * limitations under the License. */ -val libraryVersion = "5.0.0" +val libraryVersion = "5.1.0" val composeVersion = "1.6.8" val composeCompilerVersion = "1.5.14" plugins { id("com.android.library") id("kotlin-android") + id("org.jetbrains.kotlin.plugin.compose") id("maven-publish") } @@ -32,7 +33,6 @@ android { consumerProguardFiles("consumer-rules.pro") } - @Suppress("UnstableApiUsage") buildTypes { release { isMinifyEnabled = true @@ -52,15 +52,10 @@ android { jvmTarget = "17" } - @Suppress("UnstableApiUsage") buildFeatures { compose = true } - composeOptions { - kotlinCompilerExtensionVersion = composeCompilerVersion - } - publishing { singleVariant("release") { withSourcesJar()