Skip to content

Commit af098ac

Browse files
authored
Use Cargo NDK Gradle plugin from Maven Central (#896)
1 parent fae3d85 commit af098ac

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

.github/workflows/ci-stone-android.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ jobs:
7575
run: just install-android-targets
7676

7777
- name: Build Android Bindings
78-
env:
79-
GITHUB_USER: ${{ github.actor }}
80-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8178
run: just build-android
8279

8380
- name: Enable KVM

gemstone/android/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id("org.jetbrains.kotlin.android") version "2.2.21" apply false
33
id("com.android.application") version "8.13.1" apply false
4-
id("com.gemwallet.cargo-ndk") version "0.5.0" apply false
4+
id("com.gemwallet.cargo-ndk") version "0.5.2" apply false
55
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
66
}
77

gemstone/android/settings.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
pluginManagement {
22
repositories {
3-
val localProps = rootDir.resolve("local.properties").takeIf { it.isFile }?.inputStream()?.use { stream ->
4-
java.util.Properties().apply { load(stream) }
5-
}
6-
val githubUser = System.getenv("GITHUB_USER") ?: localProps?.getProperty("github.user")
7-
val githubToken = System.getenv("GITHUB_TOKEN") ?: localProps?.getProperty("github.token")
8-
maven {
9-
url = uri("https://maven.pkg.github.com/gemwalletcom/cargo-ndk-android-gradle")
10-
credentials {
11-
username = githubUser
12-
password = githubToken
13-
}
14-
}
153
google {
164
content {
175
includeGroupByRegex("com\\.android.*")

0 commit comments

Comments
 (0)