Skip to content

Commit

Permalink
Merge pull request #27 from pablobaxter/develop
Browse files Browse the repository at this point in the history
Prep for v2.0.1 release
  • Loading branch information
pablobaxter authored Oct 8, 2024
2 parents ed04ffb + e3d04e4 commit a329f9f
Show file tree
Hide file tree
Showing 20 changed files with 1,000 additions and 216 deletions.
120 changes: 88 additions & 32 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ orbs:
jobs:
Core-Lint:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -25,9 +25,9 @@ jobs:

Core-Test:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -53,9 +53,9 @@ jobs:

Core-Build:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -75,9 +75,9 @@ jobs:

Rx2-Lint:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -94,9 +94,9 @@ jobs:

Rx2-Test:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -122,9 +122,9 @@ jobs:

Rx2-Build:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -143,9 +143,9 @@ jobs:

Rx3-Lint:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -162,9 +162,9 @@ jobs:

Rx3-Test:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -190,9 +190,9 @@ jobs:

Rx3-Build:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -211,9 +211,9 @@ jobs:

Coroutines-Lint:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -230,9 +230,9 @@ jobs:

Coroutines-Test:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -258,9 +258,9 @@ jobs:

Coroutines-Build:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -279,9 +279,9 @@ jobs:

Livedata-Lint:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -298,9 +298,9 @@ jobs:

Livedata-Test:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -326,9 +326,9 @@ jobs:

Livedata-Build:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand All @@ -347,9 +347,9 @@ jobs:

Rx-Preferences-Upload:
executor:
name: android/android-machine
name: android/android-docker
resource-class: medium
tag: default
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
Expand Down Expand Up @@ -377,6 +377,43 @@ jobs:
command: |
./gradlew publishAllPublicationsToMavenCentralRepository --no-parallel --no-configuration-cache --stacktrace
Publish-Documentation:
executor:
name: android/android-docker
resource-class: medium
tag: 2024.10.1
steps:
- checkout
- android/restore-gradle-cache:
cache-prefix: core-v1
- android/restore-build-cache:
cache-prefix: core-v1
- android/restore-gradle-cache:
cache-prefix: rx2-v1
- android/restore-build-cache:
cache-prefix: rx2-v1
- android/restore-gradle-cache:
cache-prefix: rx3-v1
- android/restore-build-cache:
cache-prefix: rx3-v1
- android/restore-gradle-cache:
cache-prefix: coroutines-v1
- android/restore-build-cache:
cache-prefix: coroutines-v1
- android/restore-gradle-cache:
cache-prefix: livedata-v1
- android/restore-build-cache:
cache-prefix: livedata-v1
- run: ./gradlew dokkaHtmlMultiModule
- run: |
mv ./build/dokka/htmlMultiModule docs/api
cat README.md | grep -v '\[8\]' | grep -v '\[9\]' | grep -v '\[10\]' | grep -v '\[11\]' | grep -v '\[12\]' | grep -v '\[13\]' | grep -v '\[14\]' > docs/index.md
cat CHANGELOG.md > docs/changelog.md
- run: |
sudo apt-get install python3
sudo apt install python3-pip
pip3 install mkdocs-material
- run: mkdocs gh-deploy --force

workflows:
version: 2
Expand Down Expand Up @@ -417,6 +454,25 @@ workflows:
- Livedata-Build:
requires:
- Livedata-Test
- Publish-Documentation-Approval:
type: approval
requires:
- Core-Build
- Rx2-Build
- Rx3-Build
- Coroutines-Build
- Livedata-Build
filters:
branches:
only:
- master
- Publish-Documentation:
requires:
- Publish-Documentation-Approval
filters:
branches:
only:
- master
- Rx-Preferences-Upload-Approval:
type: approval
requires:
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

### Version 2.0.1 / 2024-10-07
* Add license to PreferenceUtil.kt
* Fix crash "IllegalStateException: Recursive update" on Coroutines library (#23)
* Deprecates getObjectNonNull() function (#24)
* Correct the exception message when incorrect sharedprefereces is listened to (#26)
* Add in docs and website for Rx-Preferences (#25)
* Deprecates `RxSharedPreferences.getObjectNonNull()` in favor of `RxSharedPreferences.getObject()`

### Version 2.0.0 / 2024-09-30
* **Breaking Change release**
* Use extension functions for Rx libraries
Expand Down
Loading

0 comments on commit a329f9f

Please sign in to comment.