move ActionBarSherlock lib, add gradle build files

This commit is contained in:
Dominik Schürmann 2013-05-25 22:48:11 +02:00
parent 9744b569ab
commit 23caec0471
443 changed files with 179 additions and 34 deletions

27
.gitignore vendored
View File

@ -1,3 +1,30 @@
#Android specific
bin
gen
obj
libs/armeabi
lint.xml
local.properties
release.properties
ant.properties
*.class *.class
*.apk *.apk
#Gradle
.gradle
build
gradle.properties
#Maven
target
pom.xml.*
#Eclipse
.project
.classpath
.settings
.metadata .metadata
#IntelliJ IDEA
.idea
*.iml

View File

@ -1,23 +1,30 @@
#Android generated #Android specific
bin bin
gen gen
obj obj
libs/armeabi libs/armeabi
lint.xml lint.xml
local.properties local.properties
release.properties
ant.properties
*.class
*.apk
#Gradle
.gradle
build
gradle.properties
#Maven
target
pom.xml.*
#Eclipse #Eclipse
.project .project
.classpath .classpath
.settings .settings
.metadata
#IntelliJ IDEA #IntelliJ IDEA
.idea .idea
*.iml *.iml
#Maven
target
release.properties
#Mac
.DS_Store

View File

@ -1,23 +1,30 @@
#Android generated #Android specific
bin bin
gen gen
obj obj
libs/armeabi libs/armeabi
lint.xml lint.xml
local.properties local.properties
release.properties
ant.properties
*.class
*.apk
#Gradle
.gradle
build
gradle.properties
#Maven
target
pom.xml.*
#Eclipse #Eclipse
.project .project
.classpath .classpath
.settings .settings
.metadata
#IntelliJ IDEA #IntelliJ IDEA
.idea .idea
*.iml *.iml
#Maven
target
release.properties
#Mac
.DS_Store

View File

@ -1,24 +1,30 @@
#Android generated #Android specific
bin bin
gen gen
obj obj
libs/armeabi libs/armeabi
lint.xml lint.xml
local.properties local.properties
release.properties
ant.properties ant.properties
*.class
*.apk
#Gradle
.gradle
build
gradle.properties
#Maven
target
pom.xml.*
#Eclipse #Eclipse
.project .project
.classpath .classpath
.settings .settings
.metadata
#IntelliJ IDEA #IntelliJ IDEA
.idea .idea
*.iml *.iml
#Maven
target
release.properties
#Mac
.DS_Store

View File

@ -0,0 +1,63 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.4'
}
}
apply plugin: 'android'
dependencies {
compile fileTree(dir: 'libs', includes: ['*.jar'], excludes: ['android-support-v4.jar'])
compile project(':libraries:ActionBarSherlock')
}
android {
compileSdkVersion 17
buildToolsVersion "17"
defaultConfig {
minSdkVersion 8
targetSdkVersion 17
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
instrumentTest.setRoot('tests')
}
/*
* To sign release build, create file gradle.properties in .gradle/ with this content:
*
* signingStoreLocation=/home/key.store
* signingStorePassword=xxx
* signingKeyAlias=alias
* signingKeyPassword=xxx
*/
signingConfigs {
myConfig {
storeFile file(signingStoreLocation)
storePassword signingStorePassword
keyAlias signingKeyAlias
keyPassword signingKeyPassword
}
}
buildTypes {
release {
signingConfig signingConfigs.myConfig
}
}
}

View File

@ -9,4 +9,4 @@
# Project target. # Project target.
target=android-17 target=android-17
android.library.reference.1=android-libs/ActionBarSherlock android.library.reference.1=../libraries/ActionBarSherlock

View File

@ -1,23 +1,30 @@
#Android generated #Android specific
bin bin
gen gen
obj obj
libs/armeabi libs/armeabi
lint.xml lint.xml
local.properties local.properties
release.properties
ant.properties
*.class
*.apk
#Gradle
.gradle
build
gradle.properties
#Maven
target
pom.xml.*
#Eclipse #Eclipse
.project .project
.classpath .classpath
.settings .settings
.metadata
#IntelliJ IDEA #IntelliJ IDEA
.idea .idea
*.iml *.iml
#Maven
target
release.properties
#Mac
.DS_Store

View File

@ -0,0 +1,27 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.4.1'
}
}
apply plugin: 'android-library'
dependencies {
compile files('libs/android-support-v4.jar')
}
android {
compileSdkVersion 17
buildToolsVersion '17'
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
res.srcDirs = ['res']
}
}
}

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Some files were not shown because too many files have changed in this diff Show More