Skip to content

Commit 2021f25

Browse files
authored
Merge pull request #432 from WalletConnect/develop
Release
2 parents c9695c3 + 4c28518 commit 2021f25

File tree

235 files changed

+3121
-2599
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+3121
-2599
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: DB Migration Verification
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- master
8+
pull_request:
9+
branches:
10+
- develop
11+
- master
12+
13+
concurrency:
14+
# Support push/pr as event types with different behaviors each:
15+
# 1. push: queue up builds by branch
16+
# 2. pr: only allow one run per PR
17+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.ref_name }}
18+
# If there is already a workflow running for the same pull request, cancel it
19+
# For non-PR triggers queue up builds
20+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
21+
22+
jobs:
23+
db_migration_verification:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: Cache Gradle
28+
uses: actions/cache@v3
29+
with:
30+
path: |
31+
~/.gradle/caches
32+
~/.gradle/wrapper
33+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
34+
restore-keys: |
35+
${{ runner.os }}-gradle-
36+
37+
- name: Core DB Migration Verification
38+
env:
39+
WC_CLOUD_PROJECT_ID: ${{ secrets.WC_CLOUD_PROJECT_ID }}
40+
run: ./gradlew :androidCore:impl:verifyDebugAndroidCoreDatabaseMigration
41+
42+
- name: Sign DB Migration Verification
43+
env:
44+
WC_CLOUD_PROJECT_ID: ${{ secrets.WC_CLOUD_PROJECT_ID }}
45+
run: ./gradlew :sign:sdk:verifyDebugSignDatabaseMigration
46+
47+
- name: Auth DB Migration Verification
48+
env:
49+
WC_CLOUD_PROJECT_ID: ${{ secrets.WC_CLOUD_PROJECT_ID }}
50+
run: ./gradlew :auth:sdk:verifyDebugAuthDatabaseMigration
51+
52+
- name: Stop Gradle
53+
run: ./gradlew --stop

androidCore/common/build.gradle.kts

Lines changed: 0 additions & 70 deletions
This file was deleted.

androidCore/common/consumer-rules.pro

Whitespace-only changes.

androidCore/common/proguard-rules.pro

Lines changed: 0 additions & 21 deletions
This file was deleted.

androidCore/common/src/main/AndroidManifest.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.

androidCore/common/src/main/kotlin/com/walletconnect/android/common/SerializableJsonRpc.kt

Lines changed: 0 additions & 3 deletions
This file was deleted.

androidCore/common/src/main/kotlin/com/walletconnect/android/common/connection/ConnectionType.kt

Lines changed: 0 additions & 5 deletions
This file was deleted.

androidCore/common/src/main/kotlin/com/walletconnect/android/common/exception/Messages.kt

Lines changed: 0 additions & 3 deletions
This file was deleted.

androidCore/common/src/main/kotlin/com/walletconnect/android/common/model/Expiry.kt

Lines changed: 0 additions & 3 deletions
This file was deleted.

androidCore/impl/build.gradle.kts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88

99
project.apply {
1010
extra[KEY_PUBLISH_ARTIFACT_ID] = "android-core-impl"
11-
extra[KEY_PUBLISH_VERSION] = "1.0.0"
11+
extra[KEY_PUBLISH_VERSION] = "1.1.0"
1212
extra[KEY_SDK_NAME] = "Android Core Impl"
1313
}
1414

@@ -41,17 +41,17 @@ android {
4141
}
4242

4343
sqldelight {
44-
database("Database") {
45-
packageName = "com.walletconnect.android.impl"
44+
database("AndroidCoreDatabase") {
45+
packageName = "com.walletconnect.android.impl.core"
46+
sourceFolders = listOf("core")
47+
schemaOutputDirectory = file("src/main/sqldelight/databases")
48+
verifyMigrations = true
4649
}
4750
}
4851

4952
dependencies {
5053
debugApi(project(":androidCore:sdk"))
51-
releaseApi("com.walletconnect:android-core:1.0.0")
52-
53-
debugApi(project(":androidCore:common"))
54-
releaseApi("com.walletconnect:android-core-common:1.0.0")
54+
releaseApi("com.walletconnect:android-core:1.1.0")
5555

5656
bouncyCastle()
5757
coroutines()
@@ -69,4 +69,5 @@ dependencies {
6969
jUnit5()
7070
jUnit5Android()
7171
mockk()
72+
coroutinesTest()
7273
}

0 commit comments

Comments
 (0)