diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df1d0ad..6ebfe32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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 diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 154f80e..87ae4aa 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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") }