Skip to content

Commit

Permalink
Removing Bintray plugin (#742)
Browse files Browse the repository at this point in the history
* add publish.gradle

* Revert "add publish.gradle"

This reverts commit ff11ffc.

* Revmonig bintray

* enabling android related build

* Enabling android pr build

* revert publish.yml change

---------

Co-authored-by: PraveenKumar <[email protected]>
  • Loading branch information
praveen970 and PraveenKumar authored Aug 5, 2024
1 parent 5b07d60 commit a28b720
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 36 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,40 +62,40 @@ jobs:
run: npm run deploy:ios
working-directory: importer

# build-android:
# name: Build Android library
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v2

# - name: Use Node 18
# uses: actions/setup-node@v1
# with:
# node-version: 18.x

# - run: npm install

# - name: Run generate script
# run: npm run deploy:android
# working-directory: importer

# - 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

# - name: Generate BUILD.gn file for Android
# run: python3 generate_build_gn_android.py
# working-directory: importer
build-android:
name: Build Android library
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 18.x

- run: npm install

- name: Run generate script
run: npm run deploy:android
working-directory: importer

- 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

- name: Generate BUILD.gn file for Android
run: python3 generate_build_gn_android.py
working-directory: importer

build-flutter:
name: Build Flutter library
Expand Down
2 changes: 0 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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/" }
Expand All @@ -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
Expand Down

0 comments on commit a28b720

Please sign in to comment.