Skip to content

Commit bdaad54

Browse files
Version Bump (#14)
* feat: version bumps WIP * Bump libraries
1 parent 5cf551c commit bdaad54

File tree

9 files changed

+35
-32
lines changed

9 files changed

+35
-32
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
> Android Compose OTP/PIN View
1212
1313

14-
<img src="demo.png" width="30%" />
14+
<img src="demo.png" width="40%" />
1515

1616
## Implementation
1717
```groovy

app/build.gradle

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
plugins {
22
id 'com.android.application'
33
id 'kotlin-android'
4+
id("org.jetbrains.kotlin.plugin.compose") version "2.1.20" // this version matches your Kotlin version
45
}
56

67
android {
7-
compileSdk 32
8+
compileSdk 36
89

910
defaultConfig {
1011
applicationId "com.yogeshpaliyal.composeotpview"
1112
minSdk 21
12-
targetSdk 32
13+
targetSdk 36
1314
versionCode 1
1415
versionName "1.0"
1516

@@ -31,7 +32,6 @@ android {
3132
}
3233
kotlinOptions {
3334
jvmTarget = '1.8'
34-
useIR = true
3535
}
3636
buildFeatures {
3737
compose true
@@ -45,23 +45,25 @@ android {
4545
excludes += '/META-INF/{AL2.0,LGPL2.1}'
4646
}
4747
}
48+
namespace 'com.yogeshpaliyal.speld'
4849
}
4950

5051
dependencies {
5152

5253
implementation project(':speld')
5354

54-
implementation 'androidx.core:core-ktx:1.7.0'
55-
implementation 'androidx.appcompat:appcompat:1.4.1'
56-
implementation 'com.google.android.material:material:1.5.0'
55+
implementation 'androidx.core:core-ktx:1.16.0'
56+
implementation 'androidx.appcompat:appcompat:1.7.0'
57+
implementation 'com.google.android.material:material:1.12.0'
5758
implementation "androidx.compose.ui:ui:$compose_version"
5859
implementation "androidx.compose.material:material:$compose_version"
60+
implementation "androidx.compose.material:material-icons-core:$compose_version"
5961
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
60-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.0'
61-
implementation 'androidx.activity:activity-compose:1.4.0'
62-
testImplementation 'junit:junit:4.+'
63-
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
64-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
62+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.7'
63+
implementation 'androidx.activity:activity-compose:1.10.1'
64+
testImplementation 'junit:junit:4.13.2'
65+
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
66+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
6567
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
6668
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
6769
}

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.yogeshpaliyal.speld">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application
65
android:allowBackup="true"

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
33
ext {
4-
compose_version = '1.0.1'
4+
compose_version = '1.7.8'
55
}
66
repositories {
77
google()
@@ -10,8 +10,8 @@ buildscript {
1010

1111
}
1212
dependencies {
13-
classpath "com.android.tools.build:gradle:7.0.4"
14-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21"
13+
classpath 'com.android.tools.build:gradle:8.9.1'
14+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.20'
1515

1616
// NOTE: Do not place your application dependencies here; they belong
1717
// in the individual module build.gradle files

demo.png

-557 Bytes
Loading

gradle.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ android.useAndroidX=true
1818
# Automatically convert third-party libraries to use AndroidX
1919
android.enableJetifier=true
2020
# Kotlin code style for this project: "official" or "obsolete":
21-
kotlin.code.style=official
21+
kotlin.code.style=official
22+
android.defaults.buildfeatures.buildconfig=true
23+
android.nonTransitiveRClass=false
24+
android.nonFinalResIds=false
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Sun Jan 30 18:16:05 IST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

speld/build.gradle

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
4+
id("org.jetbrains.kotlin.plugin.compose") version "2.1.20" // this version matches your Kotlin version
5+
46
}
57

68
android {
7-
compileSdk 32
9+
compileSdk 36
810

911
defaultConfig {
1012
minSdk 21
11-
targetSdk 32
12-
versionCode 1
13-
versionName "1.0"
13+
targetSdk 36
1414

1515
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1616
consumerProguardFiles "consumer-rules.pro"
@@ -28,7 +28,6 @@ android {
2828
}
2929
kotlinOptions {
3030
jvmTarget = '1.8'
31-
useIR = true
3231
}
3332
composeOptions {
3433
kotlinCompilerExtensionVersion compose_version
@@ -37,20 +36,21 @@ android {
3736
buildFeatures {
3837
compose true
3938
}
39+
namespace 'com.yogeshpaliyal.speld'
4040
}
4141

4242
dependencies {
4343

44-
implementation 'androidx.core:core-ktx:1.7.0'
45-
implementation 'androidx.appcompat:appcompat:1.4.1'
46-
testImplementation 'junit:junit:4.+'
47-
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
48-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
44+
implementation 'androidx.core:core-ktx:1.16.0'
45+
implementation 'androidx.appcompat:appcompat:1.7.0'
46+
testImplementation 'junit:junit:4.13.2'
47+
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
48+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
4949

5050
implementation "androidx.compose.ui:ui:$compose_version"
5151
implementation "androidx.compose.material:material:$compose_version"
5252
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
53-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.0'
53+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.7'
5454
}
5555

5656
apply plugin: "com.vanniktech.maven.publish"

speld/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.yogeshpaliyal.speld">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
</manifest>

0 commit comments

Comments
 (0)