File tree Expand file tree Collapse file tree 4 files changed +10
-17
lines changed
packages/reown_yttrium/android Expand file tree Collapse file tree 4 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 3939 - name : Build native dependencies
4040 run : |
4141 ./scripts/build_native_deps.sh
42+ - name : Build Kotlin dependencies
43+ run : |
44+ pushd scripts/yttrium
45+ ./generate_kotlin_locally.sh
46+ popd
4247
4348 - name : Get version tag
4449 id : get_version
Original file line number Diff line number Diff line change @@ -58,4 +58,5 @@ run_tests_all.sh
5858* .env.secret *
5959
6060scripts /yttrium
61- libuniffi_yttrium.so
61+ libuniffi_yttrium.so
62+ * .aar
Original file line number Diff line number Diff line change @@ -56,13 +56,6 @@ android {
5656 }
5757 }
5858
59- packaging {
60- jniLibs. pickFirsts. add(" lib/arm64-v8a/libuniffi_yttrium.so" )
61- jniLibs. pickFirsts. add(" lib/armeabi-v7a/libuniffi_yttrium.so" )
62- jniLibs. pickFirsts. add(" lib/x86_64/libuniffi_yttrium.so" )
63- jniLibs. pickFirsts. add(" lib/**/libjnidispatch.so" )
64- }
65-
6659 testOptions {
6760 unitTests. all {
6861 useJUnitPlatform()
@@ -81,7 +74,7 @@ def yttriumVersion = project.hasProperty("yttriumCiVersion") ? project.getProper
8174
8275dependencies {
8376 implementation(" net.java.dev.jna:jna:5.17.0@aar" )
84- implementation(" com.github.reown-com:yttrium: $y ttriumVersion " )
77+ implementation(files( " ../../../android-release.aar " ) )
8578
8679 testImplementation(" org.jetbrains.kotlin:kotlin-test" )
8780 testImplementation(" org.mockito:mockito-core:5.0.0" )
Original file line number Diff line number Diff line change @@ -5,19 +5,13 @@ set -x -e
55
66if [ ! -e yttrium/.git ]; then
77 rm -rf yttrium
8- git clone https://github.com/reown-com /yttrium
8+ git clone https://github.com/cake-tech /yttrium
99fi
1010cd yttrium
11- # git checkout ed8e8f5af2029406263be5993e484c3a69c1db7a
1211git reset --hard
13- git checkout 9f81ab8e0fb879a994392d603b7908b2104d1735
12+ git checkout 7a8b5bd01876662158db334381db8592c66952e6
1413git reset --hard
1514
16- sed -i.bak " s/-i ''/-i.bak/g" build-kotlin.sh
17- sed -i.bak " s/--bin uniffi-bindgen generate/-p kotlin-ffi --bin uniffi-bindgen generate/g" build-kotlin.sh
18- sed -i.bak " s/stat -f%z/echo stat -f%z/g" build-kotlin.sh
19- sed -i.bak " s/ -t arm64-v8a/ -t arm64-v8a -t x86_64/g" build-kotlin.sh
20-
2115cargo install cargo-ndk
2216ENABLE_STRIP=false PROFILE=release bash -x ./build-kotlin.sh
2317
You can’t perform that action at this time.
0 commit comments