Skip to content

Commit 79f8dc9

Browse files
committed
feat(Android): update Talsec Maven hosting
1 parent 0b0fdba commit 79f8dc9

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ This can be done in two ways:
347347
### 2. Add maven dependency
348348
- open __android/build.gradle__ _(if you don't see the android folder, run `npx expo prebuild -p android` in terminal to create it)_
349349
- add following dependency under __allprojects > repositories__:
350-
`maven { url "https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp" }`
350+
`maven { url "https://europe-west3-maven.pkg.dev/talsec-artifact-repository/freerasp" }`
351351
- if not already configured, add also
352352
`maven { url 'https://www.jitpack.io' }`
353353

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ repositories {
7272

7373
rootProject.allprojects {
7474
repositories {
75-
maven{url "https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp"}
75+
maven{url "https://europe-west3-maven.pkg.dev/talsec-artifact-repository/freerasp"}
7676
maven{url "https://jitpack.io"}
7777
}
7878
}
@@ -86,7 +86,7 @@ dependencies {
8686
//noinspection GradleDynamicVersion
8787
implementation "com.facebook.react:react-native:$react_native_version"
8888
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
89-
implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:9.0.2"
89+
implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:9.1.0"
9090
}
9191

9292
if (isNewArchitectureEnabled()) {

plugin/src/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ import { PluginConfigType } from './pluginConfig';
1111

1212
const { createBuildGradlePropsConfigPlugin } = AndroidConfig.BuildProperties;
1313

14-
const urlNexus =
15-
'https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp';
14+
const urlFreerasp =
15+
'https://europe-west3-maven.pkg.dev/talsec-artifact-repository/freerasp';
1616
const urlJitpack = 'https://www.jitpack.io';
1717

1818
export const setBuildscriptDependency = (buildGradle: string) => {
1919
// This enables users in bare workflow to comment out the line to prevent freerasp from adding it back.
2020

21-
const mavenNexus = buildGradle.includes(urlNexus)
21+
const mavenFreerasp = buildGradle.includes(urlFreerasp)
2222
? ''
23-
: `maven { url "${urlNexus}" }`;
24-
const mavenJitpack = buildGradle.includes(urlNexus)
23+
: `maven { url "${urlFreerasp}" }`;
24+
const mavenJitpack = buildGradle.includes(urlJitpack)
2525
? ''
2626
: `maven { url "${urlJitpack}" }`;
2727

@@ -30,7 +30,7 @@ export const setBuildscriptDependency = (buildGradle: string) => {
3030
const combinedGradleMaven = `
3131
allprojects {
3232
repositories {
33-
${mavenNexus}
33+
${mavenFreerasp}
3434
${mavenJitpack}
3535
}
3636
}

0 commit comments

Comments
 (0)