File tree 10 files changed +20
-20
lines changed
buildSrc/src/main/kotlin/io/github/naverz/pinocchio
10 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 6
6
7
7
8
8
plugins {
9
- id(" com.android.application" ) version " 8.5.1 " apply false
10
- id(" com.android.library" ) version " 8.5.1 " apply false
9
+ id(" com.android.application" ) version " 8.5.2 " apply false
10
+ id(" com.android.library" ) version " 8.5.2 " apply false
11
11
id(" org.jetbrains.kotlin.android" ) version " 2.0.0" apply false
12
12
id(" org.jetbrains.kotlin.plugin.compose" ) version " 2.0.0"
13
13
}
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ object Dependencies {
16
16
const val CONSTRAINT_LAYOUT = " androidx.constraintlayout:constraintlayout:2.1.1"
17
17
18
18
object Compose {
19
- const val UI_TOOLING = " androidx.compose.ui:ui-tooling :${Versions .COMPOSE_VERSION } "
20
- const val ACTIVITY_COMPOSE = " androidx.activity:activity- compose:1.9.1 "
21
- const val COMPOSE_FOUNDATION =
22
- " androidx.compose.foundation:foundation: ${ Versions . COMPOSE_VERSION } "
19
+ const val BOM = " androidx.compose:compose-bom :${Versions .COMPOSE_BOM } "
20
+ const val UI_TOOLING = " androidx.compose.ui:ui-tooling "
21
+ const val ACTIVITY_COMPOSE = " androidx.activity:activity-compose "
22
+ const val COMPOSE_FOUNDATION = " androidx.compose.foundation:foundation"
23
23
}
24
24
}
25
25
}
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ package io.github.naverz.pinocchio
2
2
3
3
object Versions {
4
4
const val ANDROID_COMPILE_SDK_NO = 34
5
- const val COMPOSE_VERSION = " 1.6.8 "
5
+ const val COMPOSE_BOM = " 2024.12.01 "
6
6
}
Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ HSVPicker is an easy and highly customizable HSV picker library for Android.
26
26
<tr >
27
27
<td >Compose UI 1.5 (1.5.x)</td ><td ><img alt =" Maven Central " src =" https://img.shields.io/maven-central/v/io.github.naverz.pinocchio/hsvpicker-compose?versionPrefix=1.4 " ></td >
28
28
</tr >
29
+ <tr >
30
+ <td >Compose UI 1.6 (1.6.x)</td ><td ><img alt =" Maven Central " src =" https://img.shields.io/maven-central/v/io.github.naverz.pinocchio/hsvpicker-compose?versionPrefix=1.5 " ></td >
31
+ </tr >
32
+ <tr >
33
+ <td >Compose UI 1.7 (1.7.x)</td ><td ><img alt =" Maven Central " src =" https://img.shields.io/maven-central/v/io.github.naverz.pinocchio/hsvpicker-compose?versionPrefix=1.6 " ></td >
34
+ </tr >
29
35
</table >
30
36
31
37
## Download
Original file line number Diff line number Diff line change @@ -42,14 +42,11 @@ android {
42
42
jvmTarget = " 1.8"
43
43
freeCompilerArgs = freeCompilerArgs + " -opt-in=kotlin.RequiresOptIn"
44
44
}
45
- composeOptions {
46
- kotlinCompilerExtensionVersion = io.github.naverz.pinocchio.Versions .COMPOSE_VERSION
47
- }
48
45
}
49
46
50
47
dependencies {
51
48
api(project(" :slidercompose" ))
52
- implementation(io.github.naverz.pinocchio.Dependencies .AndroidX .Compose .ACTIVITY_COMPOSE )
49
+ implementation(platform( io.github.naverz.pinocchio.Dependencies .AndroidX .Compose .BOM ) )
53
50
implementation(io.github.naverz.pinocchio.Dependencies .AndroidX .Compose .UI_TOOLING )
54
51
implementation(io.github.naverz.pinocchio.Dependencies .AndroidX .Compose .COMPOSE_FOUNDATION )
55
52
testImplementation(io.github.naverz.pinocchio.Dependencies .Test .JUNIT )
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ POM_DESCRIPTION=A library that provides HSVPicker from Jetpack Compose. (Recomme
3
3
POM_INCEPTION_YEAR =2022
4
4
POM_URL =https://github.com/naverz/Pinocchio/tree/master/hsvpicker/compose
5
5
POM_ARTIFACT_ID =hsvpicker-compose
6
- VERSION_NAME =1.5 .0
6
+ VERSION_NAME =1.6 .0
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ android {
43
43
jvmTarget = " 1.8"
44
44
freeCompilerArgs = freeCompilerArgs + " -opt-in=kotlin.RequiresOptIn"
45
45
}
46
- composeOptions {
47
- kotlinCompilerExtensionVersion = io.github.naverz.pinocchio.Versions .COMPOSE_VERSION
48
- }
49
46
}
50
47
51
48
dependencies {
Original file line number Diff line number Diff line change 25
25
<tr >
26
26
<td >Compose UI 1.6 (1.6.x)</td ><td ><img alt =" Maven Central " src =" https://img.shields.io/maven-central/v/io.github.naverz.pinocchio/slider-compose?versionPrefix=1.5 " ></td >
27
27
</tr >
28
+ <tr >
29
+ <td >Compose UI 1.7 (1.7.x)</td ><td ><img alt =" Maven Central " src =" https://img.shields.io/maven-central/v/io.github.naverz.pinocchio/slider-compose?versionPrefix=1.6 " ></td >
30
+ </tr >
28
31
</table >
29
32
30
33
## Download
Original file line number Diff line number Diff line change @@ -41,13 +41,10 @@ android {
41
41
jvmTarget = " 1.8"
42
42
freeCompilerArgs = freeCompilerArgs + " -opt-in=kotlin.RequiresOptIn"
43
43
}
44
- composeOptions {
45
- kotlinCompilerExtensionVersion = io.github.naverz.pinocchio.Versions .COMPOSE_VERSION
46
- }
47
44
}
48
45
49
46
dependencies {
50
- implementation(io.github.naverz.pinocchio.Dependencies .AndroidX .Compose .ACTIVITY_COMPOSE )
47
+ implementation(platform( io.github.naverz.pinocchio.Dependencies .AndroidX .Compose .BOM ) )
51
48
implementation(io.github.naverz.pinocchio.Dependencies .AndroidX .Compose .UI_TOOLING )
52
49
implementation(io.github.naverz.pinocchio.Dependencies .AndroidX .Compose .COMPOSE_FOUNDATION )
53
50
testImplementation(io.github.naverz.pinocchio.Dependencies .Test .JUNIT )
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ POM_DESCRIPTION=Slider UI for Compose
3
3
POM_INCEPTION_YEAR =2022
4
4
POM_URL =https://github.com/naverz/Pinocchio/tree/master/slidercompose
5
5
POM_ARTIFACT_ID =slider-compose
6
- VERSION_NAME =1.5 .0
6
+ VERSION_NAME =1.6 .0
You can’t perform that action at this time.
0 commit comments