diff --git a/.gitignore b/.gitignore index 2158a35ff..ff6b6552f 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ monkey.txt *~ *.iws target +build +.gradle diff --git a/build.gradle b/build.gradle new file mode 100644 index 000000000..37cce5586 --- /dev/null +++ b/build.gradle @@ -0,0 +1,32 @@ +buildscript { + repositories { + mavenCentral() + } + + dependencies { + classpath 'com.android.tools.build:gradle:0.4' + } +} + +apply plugin: 'android' + +dependencies { + compile project(':plugins:ActionBarSherlock:library') + compile project(':plugins:Android-PullToRefresh:library') + compile project(':plugins:ckChangeLog:library') + compile project(':plugins:HoloColorPicker') + compile fileTree(dir: 'libs', include: '*.jar') +} + +android { + compileSdkVersion 17 + buildToolsVersion '17' + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + res.srcDirs = ['res'] + } + } +} diff --git a/plugins/ActionBarSherlock/library/build.gradle b/plugins/ActionBarSherlock/library/build.gradle new file mode 100644 index 000000000..53bd4300e --- /dev/null +++ b/plugins/ActionBarSherlock/library/build.gradle @@ -0,0 +1,20 @@ +apply plugin: 'android-library' + +dependencies { + compile fileTree(dir: 'libs', include: '*.jar') +} + +android { + compileSdkVersion 17 + buildToolsVersion '17' + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + res.srcDirs = ['res'] + } + } +} + +archivesBaseName = 'ActionBarSherlock' diff --git a/plugins/Android-PullToRefresh/library/build.gradle b/plugins/Android-PullToRefresh/library/build.gradle new file mode 100644 index 000000000..a6e4b43d9 --- /dev/null +++ b/plugins/Android-PullToRefresh/library/build.gradle @@ -0,0 +1,16 @@ +apply plugin: 'android-library' + +android { + compileSdkVersion 17 + buildToolsVersion '17' + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + res.srcDirs = ['res'] + } + } +} + +archivesBaseName = 'PullToRefresh' diff --git a/plugins/HoloColorPicker/build.gradle b/plugins/HoloColorPicker/build.gradle new file mode 100644 index 000000000..f5415c295 --- /dev/null +++ b/plugins/HoloColorPicker/build.gradle @@ -0,0 +1,14 @@ +apply plugin: 'android-library' + +android { + compileSdkVersion 17 + buildToolsVersion '17' + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + res.srcDirs = ['res'] + } + } +} diff --git a/plugins/ckChangeLog/library/build.gradle b/plugins/ckChangeLog/library/build.gradle new file mode 100644 index 000000000..7ec0a4c12 --- /dev/null +++ b/plugins/ckChangeLog/library/build.gradle @@ -0,0 +1,16 @@ +apply plugin: 'android-library' + +android { + compileSdkVersion 17 + buildToolsVersion '17' + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + res.srcDirs = ['res'] + } + } +} + +archivesBaseName = 'ckChangeLog' diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 000000000..6a3c62bca --- /dev/null +++ b/settings.gradle @@ -0,0 +1,4 @@ +include ':plugins:ActionBarSherlock:library' +include ':plugins:Android-PullToRefresh:library' +include ':plugins:ckChangeLog:library' +include ':plugins:HoloColorPicker'