From 5e5fa53e806f1f78f56b13950b9d1d50cabd73d1 Mon Sep 17 00:00:00 2001 From: kshoji <0x0badc0de@gmail.com> Date: Thu, 10 Jul 2014 12:02:31 +0900 Subject: [PATCH] Tried to build with Android Studio 0.8.1. --- .gitignore | 1 + MIDIDriver/build.gradle | 5 +++-- MIDIDriverSample/build.gradle | 5 +++-- build.gradle | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 825c413f..f601eda4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ MIDIDriver/build .gradle *.iml local.properties +build diff --git a/MIDIDriver/build.gradle b/MIDIDriver/build.gradle index 1c02884c..b54b4059 100644 --- a/MIDIDriver/build.gradle +++ b/MIDIDriver/build.gradle @@ -1,4 +1,5 @@ -apply plugin: 'android-library' +apply plugin: 'com.android.library' +//apply plugin: 'android-library' // Android Studio < 0.8.0 dependencies { compile fileTree(dir: 'libs', include: '*.jar') @@ -6,7 +7,7 @@ dependencies { android { compileSdkVersion 12 - buildToolsVersion "19.0.3" + buildToolsVersion "20" sourceSets { main { diff --git a/MIDIDriverSample/build.gradle b/MIDIDriverSample/build.gradle index 94f53276..3616f7aa 100644 --- a/MIDIDriverSample/build.gradle +++ b/MIDIDriverSample/build.gradle @@ -1,4 +1,5 @@ -apply plugin: 'android' +apply plugin: 'com.android.application' +//apply plugin: 'android' // Android Studio < 0.8.0 dependencies { compile fileTree(dir: 'libs', include: '*.jar') @@ -7,7 +8,7 @@ dependencies { android { compileSdkVersion 12 - buildToolsVersion "19.0.3" + buildToolsVersion "20" sourceSets { main { diff --git a/build.gradle b/build.gradle index fdf10eb4..0d9b5eb8 100644 --- a/build.gradle +++ b/build.gradle @@ -4,6 +4,6 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:0.9.+' + classpath 'com.android.tools.build:gradle:0.12.+' } }