mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 03:32:16 -05:00
Add initial Gradle support
This commit is contained in:
parent
b03b487d62
commit
75ff5baaff
2
.gitignore
vendored
2
.gitignore
vendored
@ -18,3 +18,5 @@ monkey.txt
|
|||||||
*~
|
*~
|
||||||
*.iws
|
*.iws
|
||||||
target
|
target
|
||||||
|
build
|
||||||
|
.gradle
|
||||||
|
32
build.gradle
Normal file
32
build.gradle
Normal file
@ -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']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
20
plugins/ActionBarSherlock/library/build.gradle
Normal file
20
plugins/ActionBarSherlock/library/build.gradle
Normal file
@ -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'
|
16
plugins/Android-PullToRefresh/library/build.gradle
Normal file
16
plugins/Android-PullToRefresh/library/build.gradle
Normal file
@ -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'
|
14
plugins/HoloColorPicker/build.gradle
Normal file
14
plugins/HoloColorPicker/build.gradle
Normal file
@ -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']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
16
plugins/ckChangeLog/library/build.gradle
Normal file
16
plugins/ckChangeLog/library/build.gradle
Normal file
@ -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'
|
4
settings.gradle
Normal file
4
settings.gradle
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
include ':plugins:ActionBarSherlock:library'
|
||||||
|
include ':plugins:Android-PullToRefresh:library'
|
||||||
|
include ':plugins:ckChangeLog:library'
|
||||||
|
include ':plugins:HoloColorPicker'
|
Loading…
Reference in New Issue
Block a user