File tree 7 files changed +15
-11
lines changed
7 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ allprojects {
43
43
```
44
44
在你APP的构建脚本
45
45
``` groovy
46
- compile 'com.deltadna.android:deltadna-sdk:4.13.0'
46
+ compile 'com.deltadna.android:deltadna-sdk:4.13.0-SNAPSHOT '
47
47
```
48
48
49
49
## 初始化
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ allprojects {
47
47
In your app's build script:
48
48
``` groovy
49
49
dependencies {
50
- implementation 'com.deltadna.android:deltadna-sdk:4.13.0'
50
+ implementation 'com.deltadna.android:deltadna-sdk:4.13.0-SNAPSHOT '
51
51
}
52
52
```
53
53
The Java source and target compatibility needs to be set to 1.8 in you app's build script:
Original file line number Diff line number Diff line change 1
1
GROUP =com.deltadna.android
2
- VERSION_NAME =4.13.0
2
+ VERSION_NAME =4.13.0-SNAPSHOT
3
3
4
4
POM_DESCRIPTION =deltaDNA SDK for Android
5
5
POM_URL =https://github.com/deltaDNA/android-sdk
@@ -19,4 +19,4 @@ org.gradle.configureondemand=true
19
19
20
20
kotlin.coroutines =enable
21
21
android.useAndroidX = true
22
- android.enableJetifier = true
22
+ android.enableJetifier = true
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ apply plugin: 'maven'
18
18
apply plugin : ' signing'
19
19
20
20
def isReleaseBuild () {
21
- return VERSION_NAME . contains(" SNAPSHOT" ) == false
21
+ return ! VERSION_NAME . contains(" SNAPSHOT" )
22
22
}
23
23
24
24
def getReleaseRepositoryUrl () {
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ allprojects {
41
41
```
42
42
在你APP的构建脚本
43
43
``` groovy
44
- compile 'com.deltadna.android:deltadna-sdk:4.13.0'
45
- compile 'com.deltadna.android:deltadna-sdk-notifications:4.13.0'
44
+ compile 'com.deltadna.android:deltadna-sdk:4.13.0-SNAPSHOT '
45
+ compile 'com.deltadna.android:deltadna-sdk-notifications:4.13.0-SNAPSHOT '
46
46
```
47
47
48
48
## 整合
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ allprojects {
41
41
In your app's build script:
42
42
``` groovy
43
43
dependencies {
44
- implementation 'com.deltadna.android:deltadna-sdk:4.13.0'
45
- implementation 'com.deltadna.android:deltadna-sdk-notifications:4.13.0'
44
+ implementation 'com.deltadna.android:deltadna-sdk:4.13.0-SNAPSHOT '
45
+ implementation 'com.deltadna.android:deltadna-sdk-notifications:4.13.0-SNAPSHOT '
46
46
}
47
47
```
48
48
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
+ echo " Update Android SDK version from v$1 to v$2 in gradle.properties and README files"
4
+
3
5
if [ -z " $1 " ]; then
4
6
echo " Old version not supplied as the first argument"
5
7
exit 1
@@ -8,6 +10,8 @@ elif [ -z "$2" ]; then
8
10
exit 1
9
11
fi
10
12
11
- sed -i " s/$1 /$2 /g" gradle.properties README.md README-CN.md library-notifications/README.md library-notifications/README-CN.md
13
+ sed -i ' ' " s/$1 /$2 /g" gradle.properties README.md README-CN.md library-notifications/README.md library-notifications/README-CN.md
12
14
13
- echo " Have you updated the changelog?"
15
+ echo " ---------------------------------------------------------------------"
16
+ echo " Have you updated the CHANGELOG.md with changes in v$2 ?"
17
+ echo " ---------------------------------------------------------------------"
You can’t perform that action at this time.
0 commit comments