Skip to content

Commit

Permalink
updating version
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinSchildhorn committed Apr 6, 2021
1 parent d343261 commit a83c24f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ allprojects {
}
dependencies {
implementation 'com.github.KevinSchildhorn:OTPView:0.2.0'
implementation 'com.github.KevinSchildhorn:OTPView:0.2.1'
}
```

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "com.kevinschildhorn.otpview.sample"
minSdkVersion 26
targetSdkVersion 29
versionCode 16
versionName "1.6"
versionCode project.versionCode
versionName project.versionName

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ allprojects {

task clean(type: Delete) {
delete rootProject.buildDir
}

project.ext {
versionCode = 21
versionName = "0.2.1"
}
6 changes: 3 additions & 3 deletions otpView/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 29
versionCode 19
versionName "0.2.0"
versionCode project.versionCode
versionName project.versionName

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -40,7 +40,7 @@ afterEvaluate {
release(MavenPublication) {
from components.release
groupId = 'com.kevinschildhorn.otpview'
version = '0.2.0'
version = project.versionName
}
}
}
Expand Down

0 comments on commit a83c24f

Please sign in to comment.