File tree Expand file tree Collapse file tree 14 files changed +73
-55
lines changed
src/main/java/com/skydoves/colorpickerview/benchmark
buildSrc/src/main/kotlin/com/skydoves/colorpicker Expand file tree Collapse file tree 14 files changed +73
-55
lines changed Original file line number Diff line number Diff line change 88# Java class files
99* .class
1010
11+ # Kotlin
12+ .kotlin
13+
1114# Generated files
1215bin /
1316gen /
Original file line number Diff line number Diff line change @@ -33,12 +33,8 @@ android {
3333 }
3434
3535 compileOptions {
36- sourceCompatibility = JavaVersion .VERSION_11
37- targetCompatibility = JavaVersion .VERSION_11
38- }
39-
40- kotlinOptions {
41- jvmTarget = libs.versions.jvmTarget.get()
36+ sourceCompatibility = JavaVersion .VERSION_17
37+ targetCompatibility = JavaVersion .VERSION_17
4238 }
4339
4440 lint {
@@ -54,6 +50,12 @@ android {
5450 }
5551}
5652
53+ kotlin {
54+ compilerOptions {
55+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_17 )
56+ }
57+ }
58+
5759dependencies {
5860 implementation(project(" :colorpickerview" ))
5961
Original file line number Diff line number Diff line change 1515 limitations under the License.
1616-->
1717<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
18- xmlns : tools =" http://schemas.android.com/tools"
19- package =" com.skydoves.colorpickerviewdemo" >
18+ xmlns : tools =" http://schemas.android.com/tools" >
2019
2120 <uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE" />
2221
Original file line number Diff line number Diff line change @@ -12,12 +12,8 @@ android {
1212 compileSdk = Configuration .compileSdk
1313
1414 compileOptions {
15- sourceCompatibility = JavaVersion .VERSION_11
16- targetCompatibility = JavaVersion .VERSION_11
17- }
18-
19- kotlinOptions {
20- jvmTarget = libs.versions.jvmTarget.get()
15+ sourceCompatibility = JavaVersion .VERSION_17
16+ targetCompatibility = JavaVersion .VERSION_17
2117 }
2218
2319 defaultConfig {
@@ -50,6 +46,12 @@ baselineProfile {
5046 useConnectedDevices = false
5147}
5248
49+ kotlin {
50+ compilerOptions {
51+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_17 )
52+ }
53+ }
54+
5355dependencies {
5456 implementation(libs.androidx.test.runner)
5557 implementation(libs.androidx.test.uiautomator)
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class BaselineProfileGenerator {
2929
3030 @Test
3131 fun startup () = baselineProfileRule.collect(
32- packageName = packageName ,
32+ packageName = PACKAGE_NAME ,
3333 stableIterations = 2 ,
3434 maxIterations = 8 ,
3535 ) {
@@ -42,4 +42,4 @@ class BaselineProfileGenerator {
4242 }
4343}
4444
45- private const val packageName = " com.skydoves.colorpickerviewdemo"
45+ private const val PACKAGE_NAME = " com.skydoves.colorpickerviewdemo"
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ plugins {
2121 alias(libs.plugins.nexus.plugin)
2222 alias(libs.plugins.spotless)
2323 alias(libs.plugins.dokka)
24- alias(libs.plugins.kotlin.binary.compatibility)
2524}
2625
2726subprojects {
Original file line number Diff line number Diff line change 1717package com.skydoves.colorpicker
1818
1919object Configuration {
20- const val compileSdk = 34
21- const val targetSdk = 34
22- const val minSdk = 17
20+ const val compileSdk = 35
21+ const val targetSdk = 35
22+ const val minSdk = 21
2323 const val minSdkBenchmark = 23
2424 const val majorVersion = 2
2525 const val minorVersion = 3
Original file line number Diff line number Diff line change @@ -56,15 +56,22 @@ android {
5656 }
5757
5858 compileOptions {
59- sourceCompatibility = JavaVersion .VERSION_11
60- targetCompatibility = JavaVersion .VERSION_11
59+ sourceCompatibility = JavaVersion .VERSION_17
60+ targetCompatibility = JavaVersion .VERSION_17
6161 }
6262
63- kotlinOptions {
64- jvmTarget = libs.versions.jvmTarget.get()
63+ resourcePrefix = " colorpickerview"
64+ }
65+
66+ kotlin {
67+ compilerOptions {
68+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_17 )
6569 }
6670
67- resourcePrefix = " colorpickerview"
71+ @OptIn(org.jetbrains.kotlin.gradle.dsl.abi.ExperimentalAbiValidation ::class )
72+ abiValidation {
73+ enabled.set(true )
74+ }
6875}
6976
7077dependencies {
Original file line number Diff line number Diff line change 1414 See the License for the specific language governing permissions and
1515 limitations under the License.
1616-->
17- <manifest package = " com.skydoves.colorpickerview " />
17+ <manifest />
Original file line number Diff line number Diff line change @@ -65,6 +65,6 @@ POM_DEVELOPER_NAME=Jaewoong Eum
6565POM_DEVELOPER_URL =https://github.com/skydoves/
6666POM_DEVELOPER_EMAIL =skydoves2@gmail.com
6767
68- SONATYPE_HOST =DEFAULT
68+ SONATYPE_HOST =CENTRAL_PORTAL
6969RELEASE_SIGNING_ENABLED =true
7070SONATYPE_AUTOMATIC_RELEASE =true
You can’t perform that action at this time.
0 commit comments