Skip to content

Instantly share code, notes, and snippets.

@revdfdev
Created December 6, 2017 18:48
Show Gist options
  • Select an option

  • Save revdfdev/2af4439cd9d02b37587c8d719eb05fd0 to your computer and use it in GitHub Desktop.

Select an option

Save revdfdev/2af4439cd9d02b37587c8d719eb05fd0 to your computer and use it in GitHub Desktop.
my main gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.0'
ext.ankoVersion = "0.10.2"
ext.daggerVersion = "2.11"
ext.okhttpVersion = "3.9.0"
ext.picassoVersion = "2.5.2"
ext.priorityJobQueueVersion = "2.0.1"
ext.mockitoVersion = "2.8.47"
ext.retrofitVersion = "2.2.0"
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.realm:realm-gradle-plugin:4.3.1"
// 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://jitpack.io'}
}
}
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