Last active
March 24, 2017 03:17
-
-
Save agonist/e4d291155a8c165c5bc053755d759a4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
android { | |
compileSdkVersion 25 | |
buildToolsVersion "25.0.2" | |
defaultConfig { | |
applicationId "com.foo.etc.explorer" | |
minSdkVersion 19 | |
targetSdkVersion 25 | |
versionCode 1 | |
versionName "1.0" | |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
packagingOptions { | |
exclude 'META-INF/DEPENDENCIES' | |
exclude 'META-INF/NOTICE' | |
exclude 'META-INF/LICENSE' | |
exclude 'META-INF/LICENSE.txt' | |
exclude 'META-INF/NOTICE.txt' | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | |
exclude group: 'com.android.support', module: 'support-annotations' | |
}) | |
compile 'com.android.support:appcompat-v7:25.3.0' | |
testCompile 'junit:junit:4.12' | |
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" | |
compile 'com.android.support:design:25.3.0' | |
compile 'com.android.support.constraint:constraint-layout:1.0.2' | |
compile 'com.android.support:cardview-v7:25.3.0' | |
compile project(path: ':core') | |
} | |
repositories { | |
mavenCentral() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'kotlin' | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
compile "org.ethereumclassic:etherjar:0.4.0" | |
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" | |
compile 'io.reactivex.rxjava2:rxkotlin:2.0.0-RC3' | |
} | |
buildscript { | |
ext.kotlin_version = '1.1.1' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} | |
} | |
repositories { | |
mavenCentral() | |
maven { url 'https://jitpack.io' } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
ext.kotlin_version = '1.1.1' | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.3.0' | |
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 { | |
jcenter() | |
} | |
} | |
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