| buildscript { |
| repositories { |
| mavenCentral() |
| } |
| |
| dependencies { |
| classpath 'com.android.tools.build:gradle:1.3.0' |
| classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+' |
| // We are going to define a custom VDL service. The Vanadium |
| // Gradle plugin makes that easier, so let's use that. |
| classpath 'io.v:gradle-plugin:0.1' |
| } |
| } |
| |
| apply plugin: 'android-sdk-manager' |
| apply plugin: 'com.android.application' |
| apply plugin: 'io.v.vdl' |
| |
| android { |
| compileSdkVersion 23 |
| buildToolsVersion "23.0.1" |
| |
| defaultConfig { |
| applicationId "io.v.syncslides" |
| minSdkVersion 22 |
| targetSdkVersion 23 |
| versionCode 1 |
| versionName "1.0" |
| } |
| buildTypes { |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| } |
| } |
| } |
| |
| repositories { |
| mavenCentral() |
| } |
| |
| dependencies { |
| compile fileTree(dir: 'libs', include: ['*.jar']) |
| testCompile 'junit:junit:4.12' |
| compile 'com.android.support:appcompat-v7:23.1.0' |
| compile 'com.android.support:design:23.1.0' |
| compile 'com.android.support:recyclerview-v7:23.0.1' |
| compile 'com.android.support:cardview-v7:23.0.1' |
| compile 'io.v:vanadium-android:0.2' |
| } |
| |
| vdl { |
| // This is where the VDL tool will look for VDL definitions. |
| inputPaths += 'src/main/java' |
| } |