Skip to content

Commit

Permalink
use rhino maintained by ourselves
Browse files Browse the repository at this point in the history
  • Loading branch information
5ec1cff committed Sep 9, 2023
1 parent bed34be commit bda7349
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
echo ${{ secrets.KEY_STORE }} | base64 --decode > key.jks
fi
- name: Checkout rhino
uses: actions/checkout@v3
with:
repository: 5ec1cff/rhino
path: rhino

- name: Checkout stetho
uses: actions/checkout@v3
with:
Expand All @@ -52,7 +58,16 @@ jobs:
with:
gradle-home-cache-cleanup: true

- name: Build dependencies
- name: Build rhino
working-directory: rhino
run: |
echo 'org.gradle.caching=true' >> ~/.gradle/gradle.properties
echo 'org.gradle.parallel=true' >> ~/.gradle/gradle.properties
echo 'org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -XX:+UseParallelGC' >> ~/.gradle/gradle.properties
echo 'android.native.buildOutput=verbose' >> ~/.gradle/gradle.properties
./gradlew publishToMavenLocal
- name: Build stetho
working-directory: stetho
run: |
echo 'org.gradle.caching=true' >> ~/.gradle/gradle.properties
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ dependencies {
compileOnly(project(":hidden-api"))
implementation("com.github.5ec1cff.stetho:stetho:1.0-alpha-1")
implementation("com.github.5ec1cff.stetho:stetho-js-rhino:1.0-alpha-1")
implementation("org.mozilla:rhino:1.7.13")
implementation("org.mozilla:rhino:1.7.15-SNAPSHOT")
}

0 comments on commit bda7349

Please sign in to comment.