1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-23 16:18:50 -05:00

Add initial Gradle support

This commit is contained in:
cketti 2013-05-25 23:14:46 +02:00
parent b03b487d62
commit 75ff5baaff
7 changed files with 104 additions and 0 deletions

2
.gitignore vendored
View File

@ -18,3 +18,5 @@ monkey.txt
*~
*.iws
target
build
.gradle

32
build.gradle Normal file
View 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']
}
}
}

View 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'

View 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'

View 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']
}
}
}

View 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
View File

@ -0,0 +1,4 @@
include ':plugins:ActionBarSherlock:library'
include ':plugins:Android-PullToRefresh:library'
include ':plugins:ckChangeLog:library'
include ':plugins:HoloColorPicker'