Skip to content

Commit

Permalink
Merge pull request #13354 from wordpress-mobile/sync-utils-subtree
Browse files Browse the repository at this point in the history
Sync utils subtree
  • Loading branch information
malinajirka authored Nov 11, 2020
2 parents 35dd069 + 4dcce45 commit 4dfbc5e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
21 changes: 18 additions & 3 deletions libs/utils/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ commands:

jobs:
Lint:
executor:
executor:
name: android/default
api-version: "27"
steps:
Expand All @@ -24,8 +24,20 @@ jobs:
command: ./gradlew --stacktrace lint checkstyle
- android/save-gradle-cache
- android/save-lint-results
Test:
executor:
name: android/default
api-version: "27"
steps:
- checkout
- copy-gradle-properties
- android/restore-gradle-cache
- run:
name: Test
command: ./gradlew --stacktrace test
- android/save-gradle-cache
Build:
executor:
executor:
name: android/default
api-version: "27"
steps:
Expand All @@ -41,4 +53,7 @@ workflows:
WordPress-Utils-Android:
jobs:
- Lint
- Build
- Test
- Build:
requires:
- Test
1 change: 1 addition & 0 deletions libs/utils/WordPressUtils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ project.afterEvaluate {
publishing {
publications {
UtilsPublication(MavenPublication) {
from components.release
groupId 'org.wordpress'
artifactId 'utils'
version android.defaultConfig.versionName
Expand Down
1 change: 1 addition & 0 deletions libs/utils/gradle.properties-example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
android.useAndroidX=true

0 comments on commit 4dfbc5e

Please sign in to comment.