Skip to content

Instantly share code, notes, and snippets.

@revdfdev
Created January 20, 2018 10:59
Show Gist options
  • Select an option

  • Save revdfdev/3d85a87db9ed43122cbe608a9470ccfa to your computer and use it in GitHub Desktop.

Select an option

Save revdfdev/3d85a87db9ed43122cbe608a9470ccfa to your computer and use it in GitHub Desktop.
MainGradle new
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.20'
ext.supportVersion = "27.0.2"
ext.ankoVersion = "0.10.2"
ext.okhttpVersion = "3.9.0"
ext.picassoVersion = "2.5.2"
ext.retrofitVersion = "2.2.0"
ext.gsonVersion = "2.8.2"
ext.priorityJobQueueVersion = "2.0.1"
ext.mockitoVersion = "2.8.47"
repositories {
google()
jcenter()
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap/'}
maven { url 'https://jitpack.io'}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
mavenLocal()
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap/'}
maven { url 'https://jitpack.io'}
maven {url "https://clojars.org/repo/"}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment