Skip to content

Commit 92d16fb

Browse files
committed
Renovate
1 parent 282dd44 commit 92d16fb

File tree

10 files changed

+35
-99
lines changed

10 files changed

+35
-99
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ ColorfulIconSlider(
241241
modifier = Modifier.size(40.dp)
242242
)
243243
}
244-
}
245244
```
246245

247246
## Gradle Setup

build.gradle

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
buildscript {
22
ext {
3-
compose_version = '1.4.0-alpha05'
3+
compose_version = '1.4.1'
44
}
5-
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
6-
plugins {
7-
id 'com.android.application' version '7.2.2' apply false
8-
id 'com.android.library' version '7.2.2' apply false
9-
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
105
}
11-
12-
task clean(type: Delete) {
13-
delete rootProject.buildDir
6+
plugins {
7+
id 'com.android.application' version '8.0.0-rc01' apply false
8+
id 'com.android.library' version '8.0.0-rc01' apply false
9+
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
1410
}

gradle.properties

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1-
# Project-wide Gradle settings.
2-
# IDE (e.g. Android Studio) users:
3-
# Gradle settings configured through the IDE *will override*
4-
# any settings specified in this file.
5-
# For more details on how to configure your build environment visit
6-
# http://www.gradle.org/docs/current/userguide/build_environment.html
7-
# Specifies the JVM arguments used for the daemon process.
8-
# The setting is particularly useful for tweaking memory settings.
1+
kotlin.code.style=official
2+
93
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10-
# When configured, Gradle will run in incubating parallel mode.
11-
# This option should only be used with decoupled projects. More details, visit
12-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13-
# org.gradle.parallel=true
14-
# AndroidX package structure to make it clearer which packages are bundled with the
15-
# Android operating system, and which are packaged with your app"s APK
16-
# https://developer.android.com/topic/libraries/support-library/androidx-rn
4+
org.gradle.parallel=true
5+
org.gradle.caching=true
6+
177
android.useAndroidX=true
18-
# Kotlin code style for this project: "official" or "obsolete":
19-
kotlin.code.style=official
20-
# Enables namespacing of each library's R class so that its R class includes only the
21-
# resources declared in the library itself and none from the library's dependencies,
22-
# thereby reducing the size of the R class for that library
238
android.nonTransitiveRClass=true
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Mar 14 14:21:27 TRT 2022
1+
#Sat May 21 20:06:04 TRT 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk17

slider/build.gradle

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,61 @@
11
plugins {
22
id 'com.android.library'
33
id 'org.jetbrains.kotlin.android'
4+
id 'maven-publish'
45
}
56

67
android {
78
compileSdk 33
8-
9+
namespace 'com.smarttoolfactory.slider'
910
defaultConfig {
1011
minSdk 21
11-
targetSdk 33
12-
13-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
14-
consumerProguardFiles "consumer-rules.pro"
1512
}
16-
1713
buildTypes {
1814
release {
1915
minifyEnabled false
2016
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2117
}
2218
}
2319
compileOptions {
24-
sourceCompatibility JavaVersion.VERSION_1_8
25-
targetCompatibility JavaVersion.VERSION_1_8
20+
sourceCompatibility JavaVersion.VERSION_17
21+
targetCompatibility JavaVersion.VERSION_17
2622
}
27-
kotlinOptions {
28-
jvmTarget = '1.8'
23+
kotlin {
24+
jvmToolchain(17)
2925
}
3026
buildFeatures {
3127
compose true
3228
}
3329
composeOptions {
34-
kotlinCompilerExtensionVersion = "1.4.0"
30+
kotlinCompilerExtensionVersion = "1.4.4"
3531
}
36-
3732
packagingOptions {
3833
resources {
3934
excludes += '/META-INF/{AL2.0,LGPL2.1}'
4035
}
4136
}
42-
namespace 'com.smarttoolfactory.slider'
4337
}
4438

45-
dependencies {
39+
afterEvaluate {
40+
publishing {
41+
publications {
42+
release(MavenPublication) {
43+
from components.release
4644

47-
implementation 'androidx.core:core-ktx:1.8.0'
45+
groupId = 'com.smarttoolfactory'
46+
artifactId = 'slider'
47+
version = '0.0.1'
48+
}
49+
}
50+
}
51+
}
4852

49-
implementation 'com.github.SmartToolFactory:Compose-Extended-Gestures:2.0.0'
53+
dependencies {
54+
implementation 'androidx.core:core-ktx:1.10.0'
5055

5156
// Jetpack Compose
5257
implementation "androidx.compose.ui:ui:$compose_version"
5358
implementation "androidx.compose.material:material:$compose_version"
5459
implementation "androidx.compose.material:material-icons-extended:$compose_version"
5560
implementation "androidx.compose.runtime:runtime:$compose_version"
56-
57-
testImplementation 'junit:junit:4.13.2'
58-
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
59-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
60-
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
61-
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
6261
}

slider/consumer-rules.pro

Whitespace-only changes.

slider/src/androidTest/java/com/smarttoolfactory/slider/ExampleInstrumentedTest.kt

Lines changed: 0 additions & 24 deletions
This file was deleted.

slider/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

slider/src/test/java/com/smarttoolfactory/slider/ExampleUnitTest.kt

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)