File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 2727 only :
2828 - develop
2929 script :
30- - echo -e "ext { \n appVersionCode = $CI_JOB_ID \n }" > ./app/version.gradle
30+ - echo -e "ext { appVersionCode = ${CI_PIPELINE_ID} }" > ./app/version.gradle
3131 - echo -e "systemProp.http.proxyHost=192.168.3.8\n systemProp.http.proxyPort=1080\n systemProp.https.proxyHost=192.168.3.8\n systemProp.https.proxyPort=1080\n org.gradle.jvmargs=-Xmx1536m\n org.gradle.parallel=true" >> gradle.properties
3232 - export GRADLE_USER_HOME=$(pwd)/.gradle
3333 - chmod +x ./gradlew
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22apply from : ' version.gradle'
33android {
4- compileSdkVersion ' android-P '
5- buildToolsVersion ' 28 .0.0 rc2 '
4+ compileSdkVersion 27
5+ buildToolsVersion ' 27 .0.3 '
66 defaultConfig {
77 applicationId ' org.SilverBlog.client'
88 minSdkVersion 21
99 targetSdkVersion 27
10+ versionCode appVersionCode
1011 versionName " 1.0.0"
1112 }
1213 signingConfigs {
@@ -29,10 +30,10 @@ android {
2930}
3031
3132dependencies {
32- implementation ' com.android.support:appcompat-v7:28 +'
33- implementation ' com.android.support:design:28 +'
34- implementation ' com.android.support:cardview-v7:28 +'
35- implementation ' com.android.support:recyclerview-v7:28 +'
33+ implementation ' com.android.support:appcompat-v7:27 +'
34+ implementation ' com.android.support:design:27 +'
35+ implementation ' com.android.support:cardview-v7:27 +'
36+ implementation ' com.android.support:recyclerview-v7:27 +'
3637 // noinspection GradleDynamicVersion
3738 implementation ' com.google.zxing:core:+'
3839 // noinspection GradleDynamicVersion
You can’t perform that action at this time.
0 commit comments