Skip to content

Instantly share code, notes, and snippets.

@jefrnc
Created November 26, 2022 04:33
Show Gist options
  • Save jefrnc/6a8fe4d7a075149c41021ccd5e51e8c7 to your computer and use it in GitHub Desktop.
Save jefrnc/6a8fe4d7a075149c41021ccd5e51e8c7 to your computer and use it in GitHub Desktop.
Gradle jcenter
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
google()
jcenter()
maven {
url 'https://jitpack.io'
allowInsecureProtocol = true
}
maven {
url 'https://repo1.maven.org/maven2'
allowInsecureProtocol = true
}
maven {
url 'https://repo.maven.apache.org'
allowInsecureProtocol = true
}
maven {
url 'https://maven.google.com'
allowInsecureProtocol = true
}
maven {
url 'https://repo.maven.apache.org/maven2'
allowInsecureProtocol = true
}
maven {
url 'https://jcenter.bintray.com'
allowInsecureProtocol = true
}
maven {
url 'https://dl.google.com'
allowInsecureProtocol = true
}
}
}
....
allprojects {
repositories {
mavenCentral()
google()
jcenter()
maven {
url 'https://jitpack.io'
allowInsecureProtocol = true
}
maven {
url 'https://repo1.maven.org/maven2'
allowInsecureProtocol = true
}
maven {
url 'https://repo.maven.apache.org'
allowInsecureProtocol = true
}
maven {
url 'https://maven.google.com'
allowInsecureProtocol = true
}
maven {
url 'https://repo.maven.apache.org/maven2'
allowInsecureProtocol = true
}
maven {
url 'https://jcenter.bintray.com'
allowInsecureProtocol = true
}
maven {
url 'https://dl.google.com'
allowInsecureProtocol = true
}
}
}
/*
* This file was generated by the Gradle 'init' task.
*/
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter { url 'https://repo.spring.io/release' }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment