Skip to content

Commit 16bdb5b

Browse files
chore(android): update dependency to Android native lib
Co-authored-by: Alexandre Jacinto <[email protected]>
1 parent 304d7d2 commit 16bdb5b

File tree

5 files changed

+8
-38
lines changed

5 files changed

+8
-38
lines changed

.github/workflows/basic-tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,11 @@ on:
99
jobs:
1010
setup:
1111
uses: ./.github/workflows/reusable_setup.yml
12-
secrets:
13-
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
1412

1513
lint-test:
1614
needs: 'setup'
1715
uses: ./.github/workflows/reusable_lint-packages.yml
18-
secrets:
19-
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
2016

2117
build-packages:
2218
needs: 'setup'
23-
uses: ./.github/workflows/reusable_build-packages.yml
24-
secrets:
25-
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
19+
uses: ./.github/workflows/reusable_build-packages.yml

.github/workflows/reusable_build-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55
secrets:
66
CAP_GH_RELEASE_TOKEN:
7-
required: true
7+
required: false
88

99
jobs:
1010
build:
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0
17-
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
17+
token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }}
1818

1919
- name: 'Setup Tools'
2020
uses: ./.github/actions/setup-tools

.github/workflows/reusable_lint-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55
secrets:
66
CAP_GH_RELEASE_TOKEN:
7-
required: true
7+
required: false
88

99
jobs:
1010
lint:
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0
17-
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
17+
token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }}
1818

1919
- name: 'Setup Tools'
2020
uses: ./.github/actions/setup-tools

.github/workflows/reusable_setup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55
secrets:
66
CAP_GH_RELEASE_TOKEN:
7-
required: true
7+
required: false
88

99
jobs:
1010
setup:
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v3
1818
with:
1919
fetch-depth: 0
20-
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
20+
token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }}
2121

2222
- name: 'Setup Tools'
2323
uses: ./.github/actions/setup-tools

plugin/android/build.gradle

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@ ext {
88
buildscript {
99
ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '1.9.24'
1010
repositories {
11-
maven {
12-
url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
13-
name 'Azure'
14-
credentials {
15-
username = "optional"
16-
password = ""
17-
}
18-
content {
19-
includeGroup "com.github.outsystems"
20-
}
21-
}
2211
google()
2312
mavenCentral()
2413
flatDir {
@@ -64,25 +53,12 @@ kotlin {
6453
}
6554

6655
repositories {
67-
maven {
68-
url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
69-
name 'Azure'
70-
credentials {
71-
username = "optional"
72-
password = ""
73-
}
74-
content {
75-
includeGroup "com.github.outsystems"
76-
}
77-
}
7856
google()
7957
mavenCentral()
8058
}
8159

8260
dependencies {
83-
// implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'])
84-
//noinspection GradleDynamicVersion
85-
implementation "com.github.outsystems:osbarcode-android:1.2.0@aar"
61+
implementation "io.ionic.libs:ionbarcode-android:1.2.0@aar"
8662
implementation project(':capacitor-android')
8763
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
8864
implementation 'androidx.activity:activity-ktx:1.9.3'

0 commit comments

Comments
 (0)