Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 5 additions & 21 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,9 @@ buildscript {
securityCryptoVersion = "1.1.0"
}
repositories {
maven { url "https://nexus.rnd.mendix.com/repository/repo1-proxy/" }
maven { url "https://packages.rnd.mendix.com/jcenter" }
google()
mavenCentral()
maven {
url "https://maven.fabric.io/public"
}
maven {
url "https://packages.rnd.mendix.com/jcenter"
}
}
dependencies {
classpath 'com.android.tools.build:gradle'
Expand Down Expand Up @@ -58,24 +53,13 @@ project.ext {

allprojects {
repositories {
all { repo ->
println repo.url.toString()
if (repo.url.toString().contains("jcenter.bintray.com") || repo.url.toString().contains("jitpack.io")) {
project.logger.warn "Repository ${repo.url} removed."
remove repo
google()
mavenCentral()
}
}
maven {
url "$rootDir/../node_modules/@notifee/react-native/android/libs"
}
google()
maven {
url "https://maven.fabric.io/public"
}
maven { url "https://www.jitpack.io" }
maven { url "https://nexus.rnd.mendix.com/repository/repo1-proxy/" }
maven { url "https://nexus.rnd.mendix.com/repository/jitpack-proxy/" }
maven { url "https://packages.rnd.mendix.com/jcenter" }
google()

// Build all modules with Android 16KB pages enabled
plugins.withId('com.android.application') {
Expand Down
15 changes: 14 additions & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
pluginManagement {
repositories {
maven { url "https://nexus.rnd.mendix.com/repository/repo1-proxy/" }
}
includeBuild("../node_modules/@react-native/gradle-plugin")
}
plugins { id("com.facebook.react.settings") }
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }

dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.PREFER_SETTINGS
repositories {
maven { url "https://nexus.rnd.mendix.com/repository/repo1-proxy/" }
google()
}
}

rootProject.name = 'nativeTemplate'

includeBuild('../node_modules/@react-native/gradle-plugin')
Expand Down
Loading