Skip to content

Commit

Permalink
hello
Browse files Browse the repository at this point in the history
  • Loading branch information
TuleSimon committed Nov 4, 2023
1 parent 6d861b7 commit 46c862e
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 22 deletions.
10 changes: 10 additions & 0 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ Jetpack Compose Material Country Code Picker
<a href="https://www.linkedin.com/mwlite/in/tule-simon-67a202157">Chat me up on Linkedln</a>

## Latest Version [![](https://jitpack.io/v/TuleSimon/xMaterialccp.svg)](https://jitpack.io/#TuleSimon/xMaterialccp)
The latest version is <a href="https://github.com/TuleSimon/xMaterialccp/releases/tag/v1.22">v1.22</a>
The latest version is <a href="https://github.com/TuleSimon/xMaterialccp/releases/tag/v1.23">v1.23</a>

## WHAT IS NEW (v1.22)
## WHAT IS NEW (v1.23)
*Updated compose version
* added error modifier to customize error text
* added errorText to pass your own dynamic error text
* fix indian phone number hint
Expand Down
21 changes: 15 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ plugins {

android {
namespace 'com.simon.materialCCPExample'
compileSdk 33
compileSdk 34

defaultConfig {
applicationId "com.simon.MaterialCCPExample"
minSdk 21
targetSdk 33
targetSdk 34
versionCode 1
versionName "1.0"

Expand Down Expand Up @@ -49,12 +49,21 @@ android {

dependencies {

implementation 'androidx.core:core-ktx:1.10.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
implementation 'androidx.activity:activity-compose:1.7.2'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.2'
// Import the Compose BOM
implementation platform('androidx.compose:compose-bom:2023.10.01')

// Import Material Design 3 library
implementation 'androidx.compose.material3:material3:1.1.2'

// Import other Compose libraries without version numbers
// ..
implementation 'androidx.compose.foundation:foundation'
implementation 'androidx.activity:activity-compose:1.7.0'
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation 'androidx.compose.material3:material3:1.1.0-rc01'
implementation 'androidx.compose.material3:material3:1.1.2'
implementation project(path: ':xmaterialccp')
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ buildscript {
}
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.4.2' apply false
id 'com.android.library' version '7.4.2' apply false
id 'com.android.application' version '8.1.2' apply false
id 'com.android.library' version '8.1.2' apply false
id 'org.jetbrains.kotlin.android' version '1.8.21' apply false
}

Expand Down
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.disableAutomaticComponentCreation=true
android.nonTransitiveRClass=true
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Feb 24 14:09:55 WAT 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
21 changes: 15 additions & 6 deletions xmaterialccp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'com.github.TuleSimon'
version = 'v1.22'
version = 'v1.23'

android {
namespace 'com.simon.xmaterialccp'
Expand Down Expand Up @@ -51,13 +51,22 @@ android {

dependencies {

implementation 'androidx.core:core-ktx:1.10.0'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
implementation 'androidx.activity:activity-compose:1.7.2'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.2'
// Import the Compose BOM
implementation platform('androidx.compose:compose-bom:2023.10.01')

// Import Material Design 3 library
implementation 'androidx.compose.material3:material3:1.1.2'

// Import other Compose libraries without version numbers
// ..
implementation 'androidx.compose.foundation:foundation'
implementation 'androidx.activity:activity-compose:1.7.0'
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation 'androidx.compose.material3:material3:1.1.0-rc01'
implementation 'androidx.compose.material3:material3:1.1.2'
testImplementation 'junit:junit:4.13.2'
implementation 'com.googlecode.libphonenumber:libphonenumber:8.12.57'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
Expand All @@ -74,7 +83,7 @@ afterEvaluate {
from components.release
groupId = 'com.github.TuleSimon'
artifactId = 'xMaterialccp'
version = 'v1.22'
version = 'v1.23'
}
})
}
Expand Down

0 comments on commit 46c862e

Please sign in to comment.