commit | 2782788a022213f4d33f522628db97f42bdfe83b | [log] [tgz] |
---|---|---|
author | Trevor Johns <trevorjohns@google.com> | Mon Jul 22 10:46:42 2013 -0700 |
committer | Android Git Automerger <android-git-automerger@android.com> | Mon Jul 22 10:46:42 2013 -0700 |
tree | 6d672bc592db019ac0f8ea28e827e15ca7f8c9c8 | |
parent | b3483c7b38d50b894918fb3013d030714073b53c [diff] | |
parent | 2eedc2c4124d0107b29e0d13807346e05900307c [diff] |
am 2eedc2c4: Merge "BasicMediaRouter: Migrate build to Gradle" into jb-mr2-dev * commit '2eedc2c4124d0107b29e0d13807346e05900307c': BasicMediaRouter: Migrate build to Gradle
diff --git a/media/BasicMediaRouter/BasicMediaRouter/build.gradle b/media/BasicMediaRouter/BasicMediaRouter/build.gradle new file mode 100644 index 0000000..87dbf18 --- /dev/null +++ b/media/BasicMediaRouter/BasicMediaRouter/build.gradle
@@ -0,0 +1,19 @@ +buildscript { + repositories { + maven { url 'http://repo1.maven.org/maven2' } + } + dependencies { + classpath 'com.android.tools.build:gradle:0.5.+' + } +} +apply plugin: 'android' + +android { + compileSdkVersion 17 + buildToolsVersion "17.0.0" + + defaultConfig { + minSdkVersion 17 + targetSdkVersion 17 + } +}
diff --git a/media/BasicMediaRouter/AndroidManifest.xml b/media/BasicMediaRouter/BasicMediaRouter/src/main/AndroidManifest.xml similarity index 100% rename from media/BasicMediaRouter/AndroidManifest.xml rename to media/BasicMediaRouter/BasicMediaRouter/src/main/AndroidManifest.xml
diff --git a/media/BasicMediaRouter/src/com/example/android/media/basicmediarouter/MainActivity.java b/media/BasicMediaRouter/BasicMediaRouter/src/main/java/com/example/android/media/basicmediarouter/MainActivity.java similarity index 100% rename from media/BasicMediaRouter/src/com/example/android/media/basicmediarouter/MainActivity.java rename to media/BasicMediaRouter/BasicMediaRouter/src/main/java/com/example/android/media/basicmediarouter/MainActivity.java
diff --git a/media/BasicMediaRouter/src/com/example/android/media/basicmediarouter/SamplePresentation.java b/media/BasicMediaRouter/BasicMediaRouter/src/main/java/com/example/android/media/basicmediarouter/SamplePresentation.java similarity index 100% rename from media/BasicMediaRouter/src/com/example/android/media/basicmediarouter/SamplePresentation.java rename to media/BasicMediaRouter/BasicMediaRouter/src/main/java/com/example/android/media/basicmediarouter/SamplePresentation.java
diff --git a/media/BasicMediaRouter/res/drawable-hdpi/ic_launcher.png b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/drawable-hdpi/ic_launcher.png similarity index 100% rename from media/BasicMediaRouter/res/drawable-hdpi/ic_launcher.png rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/drawable-hdpi/ic_launcher.png Binary files differ
diff --git a/media/BasicMediaRouter/res/drawable-mdpi/ic_launcher.png b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/drawable-mdpi/ic_launcher.png similarity index 100% rename from media/BasicMediaRouter/res/drawable-mdpi/ic_launcher.png rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/drawable-mdpi/ic_launcher.png Binary files differ
diff --git a/media/BasicMediaRouter/res/drawable-xhdpi/ic_launcher.png b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/drawable-xhdpi/ic_launcher.png similarity index 100% rename from media/BasicMediaRouter/res/drawable-xhdpi/ic_launcher.png rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differ
diff --git a/media/BasicMediaRouter/res/drawable-xxhdpi/ic_launcher.png b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/drawable-xxhdpi/ic_launcher.png similarity index 100% rename from media/BasicMediaRouter/res/drawable-xxhdpi/ic_launcher.png rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differ
diff --git a/media/BasicMediaRouter/res/layout/activity_main.xml b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/layout/activity_main.xml similarity index 100% rename from media/BasicMediaRouter/res/layout/activity_main.xml rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/layout/activity_main.xml
diff --git a/media/BasicMediaRouter/res/layout/display.xml b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/layout/display.xml similarity index 100% rename from media/BasicMediaRouter/res/layout/display.xml rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/layout/display.xml
diff --git a/media/BasicMediaRouter/res/menu/main.xml b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/menu/main.xml similarity index 100% rename from media/BasicMediaRouter/res/menu/main.xml rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/menu/main.xml
diff --git a/media/BasicMediaRouter/res/values-v11/styles.xml b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/values-v11/styles.xml similarity index 100% rename from media/BasicMediaRouter/res/values-v11/styles.xml rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/values-v11/styles.xml
diff --git a/media/BasicMediaRouter/res/values-v14/styles.xml b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/values-v14/styles.xml similarity index 100% rename from media/BasicMediaRouter/res/values-v14/styles.xml rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/values-v14/styles.xml
diff --git a/media/BasicMediaRouter/res/values/colors.xml b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/values/colors.xml similarity index 100% rename from media/BasicMediaRouter/res/values/colors.xml rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/values/colors.xml
diff --git a/media/BasicMediaRouter/res/values/strings.xml b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/values/strings.xml similarity index 100% rename from media/BasicMediaRouter/res/values/strings.xml rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/values/strings.xml
diff --git a/media/BasicMediaRouter/res/values/styles.xml b/media/BasicMediaRouter/BasicMediaRouter/src/main/res/values/styles.xml similarity index 100% rename from media/BasicMediaRouter/res/values/styles.xml rename to media/BasicMediaRouter/BasicMediaRouter/src/main/res/values/styles.xml
diff --git a/media/BasicMediaRouter/build.gradle b/media/BasicMediaRouter/build.gradle new file mode 100644 index 0000000..495c503 --- /dev/null +++ b/media/BasicMediaRouter/build.gradle
@@ -0,0 +1 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules.
diff --git a/media/BasicMediaRouter/settings.gradle b/media/BasicMediaRouter/settings.gradle new file mode 100644 index 0000000..327efd6 --- /dev/null +++ b/media/BasicMediaRouter/settings.gradle
@@ -0,0 +1 @@ +include ':BasicMediaRouter' \ No newline at end of file