Move repository definitions to settings.gradle

This commit is contained in:
Niko Diamadis 2025-12-18 01:12:54 +01:00
parent 9978b2f65c
commit e2d7e3d7ca
No known key found for this signature in database
GPG key ID: 27D69B8D68305327
3 changed files with 22 additions and 15 deletions

View file

@ -4,9 +4,6 @@ plugins {
id 'com.google.devtools.ksp'
}
repositories {
mavenCentral()
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'com.google.gms.google-services'

View file

@ -1,9 +1,5 @@
buildscript {
ext.kotlin_version = '2.2.0'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.13.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -17,11 +13,3 @@ buildscript {
plugins {
id 'com.google.devtools.ksp' version '2.2.0-2.0.2'
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" } // For StfalconImageViewer
}
}

View file

@ -1,2 +1,24 @@
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" } // For StfalconImageViewer
}
}
rootProject.name='ntfy'
include ':app'