Skip to content

Instantly share code, notes, and snippets.

@illuzor
Created October 4, 2018 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save illuzor/702e75a031a7a6dbf802d6ff4f8c9d0b to your computer and use it in GitHub Desktop.
Save illuzor/702e75a031a7a6dbf802d6ff4f8c9d0b to your computer and use it in GitHub Desktop.
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