File tree Expand file tree Collapse file tree 5 files changed +28
-21
lines changed
src/main/java/io/syslogic/colorpicker/compose Expand file tree Collapse file tree 5 files changed +28
-21
lines changed Original file line number Diff line number Diff line change 11# Project-wide Gradle settings.
22# @see https://docs.gradle.org/current/userguide/build_environment.html
33org.gradle.jvmargs =-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
4+ org.gradle.configuration-cache =true
45org.gradle.configureondemand =false
56org.gradle.parallel =false
67
Original file line number Diff line number Diff line change 11[versions ]
2- app_version_code = ' 29 '
3- app_version_name = ' 1.3.0 '
4- android_build_tools = ' 35 .0.0'
2+ app_version_code = ' 32 '
3+ app_version_name = ' 1.3.2 '
4+ android_build_tools = ' 36 .0.0'
55android_compile_sdk = ' 36'
66android_target_sdk = ' 36'
77android_min_sdk = ' 21'
88
99# Gradle Plugins
10- android_gradle_plugin = ' 8.12 .0'
11- material_design = ' 1.12 .0'
10+ android_gradle_plugin = ' 8.13 .0'
11+ material_design = ' 1.13 .0'
1212junit = ' 4.13.2'
13- kotlin = ' 2.2.0 '
13+ kotlin = ' 2.2.10 '
1414
15- androidx_compose_bom = ' 2025.07.00 '
16- androidx_compose_uitest = ' 1.8.3 '
17- androidx_core = ' 1.16 .0'
15+ androidx_compose_bom = ' 2025.08.01 '
16+ androidx_compose_uitest = ' 1.9.0 '
17+ androidx_core = ' 1.17 .0'
1818androidx_appcompat = ' 1.7.1'
1919androidx_navigation = ' 2.9.3'
2020androidx_preference = ' 1.2.1'
Original file line number Diff line number Diff line change 1+ import org.gradle.kotlin.dsl.withType
12import org.jetbrains.kotlin.gradle.dsl.JvmTarget
3+ import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
24
35// Module :library
46plugins {
@@ -12,9 +14,12 @@ plugins {
1214kotlin {
1315 compilerOptions {
1416 jvmTarget = JvmTarget .JVM_17
15- freeCompilerArgs.addAll(
16- listOf (" -Xlint:unchecked" , " -Xlint:deprecation" )
17- )
17+ }
18+ }
19+
20+ tasks.withType<KotlinJvmCompile >().configureEach {
21+ compilerOptions {
22+ // freeCompilerArgs.addAll("-Xlint:unchecked", "-Xlint:deprecation")
1823 }
1924}
2025
@@ -189,12 +194,9 @@ afterEvaluate {
189194 publications {
190195 register(" release" , MavenPublication ::class ) {
191196 from(components.getByName(" release" ))
192-
193197 groupId = group as String?
194198 artifactId = " androidx-colorpicker"
195199 version = libs.versions.app.version.name.get()
196-
197-
198200 pom {
199201 name = " Color Picker"
200202 description = " A simple color-picker library for Android"
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ fun ColorPickerDialog(
5555 ) {
5656 Surface (
5757 shape = RoundedCornerShape (dimensionResource(R .dimen.compose_dialog_border_radius)),
58- color = colorResource(id = com.google.android.material.R .color.cardview_light_background ),
58+ color = colorResource(id = com.google.android.material.R .color.design_default_color_background ),
5959 modifier = Modifier
6060 .layoutId(DialogSurface )
6161 .testTag(" dialog_surface" )
Original file line number Diff line number Diff line change 11import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+ import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
23
34// Module :mobile
45plugins {
@@ -9,17 +10,20 @@ plugins {
910 alias(libs.plugins.kotlin.kapt)
1011}
1112
13+ base {
14+ archivesName = " colorpicker_demo_${libs.versions.app.version.name.get()} "
15+ }
16+
1217kotlin {
1318 compilerOptions {
1419 jvmTarget = JvmTarget .JVM_17
15- freeCompilerArgs.addAll(
16- listOf (" -Xlint:unchecked" , " -Xlint:deprecation" )
17- )
1820 }
1921}
2022
21- base {
22- archivesName = " colorpicker_demo_${libs.versions.app.version.name.get()} "
23+ tasks.withType<KotlinJvmCompile >().configureEach {
24+ compilerOptions {
25+ // freeCompilerArgs.addAll("-Xlint:unchecked", "-Xlint:deprecation")
26+ }
2327}
2428
2529android {
You can’t perform that action at this time.
0 commit comments