1 Star 0 Fork 3.7K

klose/android-app

forked from 开源中国/android-app 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
SeabornLee 提交于 2014-11-07 08:37 . add checkstyle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
}
}
allprojects {
repositories {
jcenter()
}
}
apply plugin: 'com.android.application'
apply plugin: 'checkstyle'
check.dependsOn 'checkstyle'
task checkstyle(type: Checkstyle) {
source 'src'
include '**/*.java'
exclude '**/gen/**'
ignoreFailures true
classpath = files()
}
android {
compileSdkVersion 15
buildToolsVersion "21.1.0"
defaultConfig {
applicationId "net.oschina.app"
minSdkVersion 9
targetSdkVersion 19
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
android {
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
androidTest.setRoot('tests')
}
}
lintOptions {
abortOnError false
}
packagingOptions {
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
}
}
dependencies {
compile files('libs/Android_SDK_v1.2_Fix.jar')
compile files('libs/commons-httpclient-3.1.jar')
compile files('libs/core-2.3.0.jar')
compile files('libs/httpmime-4.1.3.jar')
compile files('libs/libammsdk.jar')
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mucloudy/android-app.git
[email protected]:mucloudy/android-app.git
mucloudy
android-app
android-app
master

搜索帮助