File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1717 plugins : *common_plugins
1818 command : |
1919 cp gradle.properties-example gradle.properties
20- ./gradlew lint checkstyle
20+ ./gradlew lintRelease checkstyle
2121 artifact_paths :
2222 - " **/build/reports/lint-results.*"
2323 - " **/build/reports/checkstyle/checkstyle.*"
2727 plugins : *common_plugins
2828 command : |
2929 cp gradle.properties-example gradle.properties
30- ./gradlew test
30+ ./gradlew testRelease
3131
3232 - label : " Build and upload to S3"
3333 depends_on :
Original file line number Diff line number Diff line change @@ -19,19 +19,17 @@ dependencies {
1919 implementation " org.greenrobot:eventbus:$eventBusVersion "
2020
2121 implementation " androidx.core:core-ktx:$androidxCoreVersion "
22- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$gradle . ext . kotlinVersion "
2322
2423 testImplementation " junit:junit:$junitVersion "
2524 testImplementation " org.assertj:assertj-core:$assertjVersion "
2625 testImplementation " org.robolectric:robolectric:$robolectricVersion "
2726 testImplementation " androidx.test:core:$androidxTestCoreVersion "
2827
2928 lintChecks " org.wordpress:lint:$wordpressLintVersion "
29+
3030 androidTestImplementation " androidx.test:runner:$androidxTestCoreVersion "
3131 androidTestImplementation " androidx.test:rules:$androidxTestCoreVersion "
3232 androidTestImplementation " androidx.test.ext:junit:$jUnitExtVersion "
33- androidTestImplementation " com.android.support.test.uiautomator:uiautomator-v18:$uiAutomatorVersion "
34-
3533}
3634
3735android {
Original file line number Diff line number Diff line change 5050 androidxTestCoreVersion = ' 1.4.0'
5151 assertjVersion = ' 3.11.1'
5252 junitVersion = ' 4.12'
53- jUnitExtVersion = ' 1.1.3'
5453 robolectricVersion = ' 4.9'
55- uiAutomatorVersion = ' 2.1.2'
54+
55+ // android test
56+ jUnitExtVersion = ' 1.1.3'
5657}
Original file line number Diff line number Diff line change 1+ # WordPress-Utils-Android properties.
2+
13android.useAndroidX=true
4+ android.enableJetifier=false
5+
6+ android.nonTransitiveRClass=true
Original file line number Diff line number Diff line change 11pluginManagement {
22 gradle. ext. kotlinVersion = ' 1.6.10'
33 gradle. ext. agpVersion = ' 7.2.1'
4+ gradle. ext. automatticPublishToS3Version = ' 0.7.0'
45
56 plugins {
67 id " org.jetbrains.kotlin.android" version gradle. ext. kotlinVersion
78 id " com.android.library" version gradle. ext. agpVersion
8- id " com.automattic.android.publish-to-s3" version " 0.7.0 "
9+ id " com.automattic.android.publish-to-s3" version gradle . ext . automatticPublishToS3Version
910 }
1011 repositories {
1112 maven {
You can’t perform that action at this time.
0 commit comments