Skip to content

Instantly share code, notes, and snippets.

@hwchong
Created October 26, 2015 02:32
Show Gist options
  • Save hwchong/2b0518a4108fc7985c91 to your computer and use it in GitHub Desktop.
Save hwchong/2b0518a4108fc7985c91 to your computer and use it in GitHub Desktop.
App Gradle
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.clinicloud.app"
minSdkVersion 18
targetSdkVersion 23
versionCode 1
versionName "1.0.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile "com.android.support:appcompat-v7:$app_compat_version"
compile "com.android.support:design:$app_compat_version"
compile 'com.github.PhilJay:MPAndroidChart:v2.1.3'
compile 'io.realm:realm-android:0.84.0'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
compile 'fuel:fuel:0.55'
compile "org.jetbrains.anko:anko-sdk15:$anko_version"
compile "org.jetbrains.anko:anko-support-v4:$anko_version"
// These are the app's sub-modules
compile project(':heart')
compile project(':lungs')
compile project(':temperature')
compile project(':stethocloud')
compile project(':thermocloud')
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
repositories {
jcenter() {
url "https://jitpack.io"
}
mavenCentral()
}
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment