Skip to content

Commit c628449

Browse files
committed
fix: use maven dep
1 parent 31493d3 commit c628449

File tree

5 files changed

+4
-59
lines changed

5 files changed

+4
-59
lines changed

README.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,6 @@ ext {
2424
}
2525
```
2626

27-
You will need to modify the `allprojects > repositories` section in your `android/build.gradle` file to include the Outsystems repository. Your `android/build.gradle` file should look similar to this after adding the repository.
28-
29-
```gradle
30-
allprojects {
31-
repositories {
32-
google()
33-
mavenCentral()
34-
maven {
35-
url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
36-
name 'Azure'
37-
credentials {
38-
username = "optional"
39-
password = ""
40-
}
41-
content {
42-
includeGroup "com.github.outsystems"
43-
}
44-
}
45-
}
46-
}
47-
```
48-
4927
## Usage Example
5028
#### Open In External Browser
5129
```typescript

android/build.gradle

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ buildscript {
1010
repositories {
1111
google()
1212
mavenCentral()
13-
maven {
14-
url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
15-
name 'Azure'
16-
credentials {
17-
username = "optional"
18-
password = ""
19-
}
20-
content {
21-
includeGroup "com.github.outsystems"
22-
}
23-
}
2413
}
2514
dependencies {
2615
classpath 'com.android.tools.build:gradle:8.2.2'
@@ -59,24 +48,13 @@ android {
5948
repositories {
6049
google()
6150
mavenCentral()
62-
maven {
63-
url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
64-
name 'Azure'
65-
credentials {
66-
username = "optional"
67-
password = ""
68-
}
69-
content {
70-
includeGroup "com.github.outsystems"
71-
}
72-
}
7351
}
7452

7553

7654
dependencies {
7755
// implementation fileTree(dir: 'libs', include: ['*.jar'])
7856
implementation project(':capacitor-android')
79-
implementation "com.github.outsystems:osinappbrowser-android:1.+@aar"
57+
implementation "com.capacitorjs:osinappbrowser-android:1.0.0"
8058
implementation 'androidx.browser:browser:1.8.0'
8159
implementation "androidx.constraintlayout:constraintlayout:2.2.0-alpha13"
8260
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"

example-app/android/build.gradle

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
mavenCentral()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:8.2.2'
10+
classpath 'com.android.tools.build:gradle:8.5.0'
1111
classpath 'com.google.gms:google-services:4.4.2'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
@@ -21,17 +21,6 @@ allprojects {
2121
repositories {
2222
google()
2323
mavenCentral()
24-
maven {
25-
url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
26-
name 'Azure'
27-
credentials {
28-
username = "optional"
29-
password = ""
30-
}
31-
content {
32-
includeGroup "com.github.outsystems"
33-
}
34-
}
3524
}
3625
}
3726

example-app/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

example-app/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)