赞
踩
Gradle官网: https://gradle.org/
Proguard官网:https://www.guardsquare.com/en/proguard
dependencies {
compile group: 'org.hibernate',
name: 'hibernate-core',
version: '3.6.7.Final'
}
repositories {
mavenCentral()
}
repositories {
maven {
url "http://repo.mycompany.com/maven2"
}
}
apply plugin: 'maven'
uploadArchives {
repositories {
mavenDeployer {
repository(url: "file://localhost/tmp/myRepo/")
}
}
}
apply plugin: HelloPlugin
class HelloPlugin implements Plugin<Project> {
void apply(Project project) {
project.task('hello') << {
println "Hello from the HelloPlugin."
}
}
}
教程:http://www.infoq.com/cn/articles/android-in-depth-gradle
Android定义的DSL(领域特定语言):https://developer.android.com/tools/building/plugin-for-gradle.html
Android官网build相关:https://developer.android.com/studio/build/index.html
官网:https://www.guardsquare.com/en/proguard
文章:http://www.cnblogs.com/cr330326/p/5534915.html
http://www.jianshu.com/p/ce04e31639ee
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。