Skip to content

Instantly share code, notes, and snippets.

@KamilLelonek
Last active October 23, 2015 19:17
Show Gist options
  • Save KamilLelonek/016a40ae84b4ec806e55 to your computer and use it in GitHub Desktop.
Save KamilLelonek/016a40ae84b4ec806e55 to your computer and use it in GitHub Desktop.
Gradle config for Android Scala project
buildscript {
repositories {
maven { url 'https://dl.bintray.com/drummer-aidan/maven' }
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:1.3.1"
classpath "jp.leafytree.gradle:gradle-android-scala-plugin:1.4"
}
}
repositories {
mavenCentral()
jcenter()
}
apply plugin: "com.android.application"
apply plugin: "jp.leafytree.android-scala"
android {
compileSdkVersion "android-23"
buildToolsVersion "23.0.1"
lintOptions {
abortOnError false
}
}
dependencies {
compile "org.scala-lang:scala-library:2.11.7"
compile "org.scaloid:scaloid_2.11:4.0"
compile "com.android.support:support-v4:22.2.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment