This repository was archived by the owner on Nov 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +51
-339
lines changed
packages/react-native-quick-crypto Expand file tree Collapse file tree 13 files changed +51
-339
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
paths :
8
8
- ' .github/workflows/build-android.yml'
9
- - ' android/**'
9
+ - ' packages/react-native-quick-crypto/android/**'
10
+ - ' packages/react-native-quick-crypto/nitrogen/generated/android/**'
11
+ - ' packages/react-native-quick-crypto/nitrogen/generated/shared/**'
10
12
- ' example/android/**'
11
- - ' yarn.lock '
12
- - ' example/yarn.lock '
13
+ - ' bun.lockb '
14
+ - ' example/bun.lockb '
13
15
pull_request :
14
16
paths :
15
17
- ' .github/workflows/build-android.yml'
16
- - ' android/**'
18
+ - ' packages/react-native-quick-crypto/android/**'
19
+ - ' packages/react-native-quick-crypto/nitrogen/generated/android/**'
20
+ - ' packages/react-native-quick-crypto/nitrogen/generated/shared/**'
17
21
- ' example/android/**'
18
- - ' yarn.lock '
19
- - ' example/yarn.lock '
22
+ - ' bun.lockb '
23
+ - ' example/bun.lockb '
20
24
21
25
jobs :
22
26
build_android_example :
29
33
run : |
30
34
sudo rm -rf /usr/share/dotnet
31
35
sudo rm -rf /opt/ghc
32
- sudo rm -rf "/usr/local/share/boost"
33
- sudo rm -rf "$AGENT_TOOLSDIRECTORY"
34
36
35
37
- uses : oven-sh/setup-bun@v2
36
38
with :
48
50
with :
49
51
accept-android-sdk-licenses : true
50
52
log-accepted-android-sdk-licenses : false
53
+ # this cmdline tools version barked the least in GHA runners
54
+ # hopefully we can remove it in the future
51
55
cmdline-tools-version : 9477386
52
56
53
57
- name : Bootstrap JS
64
68
restore-keys : |
65
69
${{ runner.os }}-gradle-
66
70
67
- - name : Run Gradle Build for android/
68
- run : cd packages/react-native-quick-crypto/android && ./gradlew assembleDebug && cd ../..
69
-
70
- - name : Run Gradle Build for example/android/
71
+ - name : Run Gradle Build for example app
71
72
run : cd example/android && ./gradlew assembleDebug --build-cache && cd ../..
Original file line number Diff line number Diff line change 6
6
- main
7
7
paths :
8
8
- ' .github/workflows/build-ios.yml'
9
- - ' ios/**'
9
+ - ' packages/react-native-quick-crypto/ios/**'
10
+ - ' packages/react-native-quick-crypto/nitrogen/generated/ios/**'
11
+ - ' packages/react-native-quick-crypto/nitrogen/generated/shared/**'
10
12
- ' *.podspec'
11
13
- ' example/ios/**'
12
14
pull_request :
13
15
paths :
14
16
- ' .github/workflows/build-ios.yml'
15
- - ' ios/**'
17
+ - ' packages/react-native-quick-crypto/ios/**'
18
+ - ' packages/react-native-quick-crypto/nitrogen/generated/ios/**'
19
+ - ' packages/react-native-quick-crypto/nitrogen/generated/shared/**'
16
20
- ' *.podspec'
17
21
- ' example/ios/**'
18
22
Original file line number Diff line number Diff line change 37
37
with :
38
38
accept-android-sdk-licenses : true
39
39
log-accepted-android-sdk-licenses : false
40
+ # this cmdline tools version barked the least in GHA runners
41
+ # hopefully we can remove it in the future
40
42
cmdline-tools-version : 9477386
41
43
42
44
- name : Bootstrap JS
Original file line number Diff line number Diff line change 6
6
- main
7
7
paths :
8
8
- ' .github/workflows/validate-js.yml'
9
- - ' src/**'
10
- - ' *.json'
11
- - ' *.js'
12
- - ' *.lock'
9
+ - ' bun.lockb'
10
+ - ' packages/react-native-quick-crypto/src/**'
11
+ - ' packages/react-native-quick-crypto/*.json'
12
+ - ' packages/react-native-quick-crypto/*.*s'
13
+ - ' packages/react-native-quick-crypto/bun.lockb'
13
14
- ' example/src/**'
14
15
- ' example/*.json'
15
- - ' example/*.js '
16
- - ' example/*.lock '
17
- - ' example/*.tsx '
16
+ - ' example/*.*s '
17
+ - ' example/*.*sx '
18
+ - ' example/bun.lockb '
18
19
pull_request :
19
20
paths :
20
21
- ' .github/workflows/validate-js.yml'
21
- - ' src/**'
22
- - ' *.json'
23
- - ' *.js'
24
- - ' *.lock'
22
+ - ' bun.lockb'
23
+ - ' packages/react-native-quick-crypto/src/**'
24
+ - ' packages/react-native-quick-crypto/*.json'
25
+ - ' packages/react-native-quick-crypto/*.*s'
26
+ - ' packages/react-native-quick-crypto/bun.lockb'
25
27
- ' example/src/**'
26
28
- ' example/*.json'
27
- - ' example/*.js '
28
- - ' example/*.lock '
29
- - ' example/*.tsx '
29
+ - ' example/*.*s '
30
+ - ' example/*.*sx '
31
+ - ' example/bun.lockb '
30
32
31
33
jobs :
32
34
compile_js :
Original file line number Diff line number Diff line change 1
1
buildscript {
2
2
ext {
3
3
buildToolsVersion = " 34.0.0"
4
- minSdkVersion = 28
4
+ minSdkVersion = 23
5
5
compileSdkVersion = 34
6
6
targetSdkVersion = 34
7
7
ndkVersion = " 26.1.10909125"
8
- kotlinVersion = " 1.9.22 "
8
+ kotlinVersion = " 1.9.25 "
9
9
}
10
10
repositories {
11
11
google()
Original file line number Diff line number Diff line change 1
1
buildscript {
2
+ ext. kotlinVersion = ' 1.9.25'
3
+
2
4
repositories {
3
5
google()
4
6
mavenCentral()
5
7
}
6
8
7
9
dependencies {
8
- classpath " com.android.tools.build:gradle:7 .2.1 "
9
- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25 "
10
+ classpath " com.android.tools.build:gradle:8 .2.2 "
11
+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:${ kotlinVersion } "
10
12
}
11
13
}
12
14
@@ -99,7 +101,9 @@ repositories {
99
101
100
102
101
103
dependencies {
102
- implementation " com.facebook.react:react-native"
104
+ // noinspection GradleDynamicVersion
105
+ implementation " com.facebook.react:react-native:+"
106
+
103
107
implementation project(" :react-native-nitro-modules" )
104
108
implementation " com.android.ndk.thirdparty:openssl:1.1.1q-beta-1"
105
109
}
Original file line number Diff line number Diff line change 1
- QuickCrypto_kotlinVersion =1.9.25
2
1
QuickCrypto_compileSdkVersion =34
3
2
QuickCrypto_targetSdkVersion =34
4
- QuickCrypto_minSdkVersion =29
5
- QuickCrypto_ndkversion =21.4.7075529
3
+ QuickCrypto_minSdkVersion =23
4
+ QuickCrypto_ndkVersion =21.4.7075529
6
5
7
6
android.useAndroidX =true
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments