Instantly share code, notes, and snippets.

Embed
What would you like to do?
buildscript {
val kotlinVer = "1.2.71"
repositories {
google()
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:3.2.0")
classpath(kotlin("gradle-plugin", version = kotlinVer))
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
setUrl("https://jitpack.io")
}
maven {
setUrl(extra["myRepoUrl"] as String)
credentials {
username = (extra["myRepoLogin"] as String)
password = (extra["myRepoPassword"] as String)
}
}
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment