From a28b720778e2bd4f7805f44b3761d8242102cbfc Mon Sep 17 00:00:00 2001 From: PraveenKumar yeruva Date: Mon, 5 Aug 2024 21:42:49 +0530 Subject: [PATCH] Removing Bintray plugin (#742) * add publish.gradle * Revert "add publish.gradle" This reverts commit ff11ffcac3e43bfb2ddf7ec88d64056786e67963. * Revmonig bintray * enabling android related build * Enabling android pr build * revert publish.yml change --------- Co-authored-by: PraveenKumar --- .github/workflows/pr.yml | 54 ++++++++++++++++++++-------------------- android/build.gradle | 2 -- 2 files changed, 27 insertions(+), 29 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d8d901ba57..62a8ff73bf 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -62,40 +62,40 @@ jobs: run: npm run deploy:ios working-directory: importer - # build-android: - # name: Build Android library - # runs-on: ubuntu-latest + build-android: + name: Build Android library + runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v2 + steps: + - uses: actions/checkout@v2 - # - name: Use Node 18 - # uses: actions/setup-node@v1 - # with: - # node-version: 18.x + - name: Use Node 18 + uses: actions/setup-node@v1 + with: + node-version: 18.x - # - run: npm install + - run: npm install - # - name: Run generate script - # run: npm run deploy:android - # working-directory: importer + - name: Run generate script + run: npm run deploy:android + working-directory: importer - # - name: Setup Java - # uses: actions/setup-java@v1 - # with: - # java-version: 11 + - name: Setup Java + uses: actions/setup-java@v1 + with: + java-version: 11 - # # https://github.com/marketplace/actions/gradle-command - # - name: Build Android library - # uses: eskatos/gradle-command-action@v1 - # with: - # arguments: assembleRelease - # build-root-directory: android - # wrapper-directory: android + # https://github.com/marketplace/actions/gradle-command + - name: Build Android library + uses: eskatos/gradle-command-action@v1 + with: + arguments: assembleRelease + build-root-directory: android + wrapper-directory: android - # - name: Generate BUILD.gn file for Android - # run: python3 generate_build_gn_android.py - # working-directory: importer + - name: Generate BUILD.gn file for Android + run: python3 generate_build_gn_android.py + working-directory: importer build-flutter: name: Build Flutter library diff --git a/android/build.gradle b/android/build.gradle index 09e704b6f9..895bb5f5a3 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,6 @@ apply plugin: 'io.github.gradle-nexus.publish-plugin' buildscript { ext.kotlin_version = '1.3.71' ext.appCenterSdkVersion = '2.5.1' - ext.bintray_version = '1.8.5' ext.nexus_staging_plugin_version = '1.1.0' repositories { maven { url "https://plugins.gradle.org/m2/" } @@ -14,7 +13,6 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:4.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$bintray_version" classpath "io.github.gradle-nexus:publish-plugin:$nexus_staging_plugin_version" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files