加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 2.17 KB
一键复制 编辑 原始数据 按行查看 历史
apply plugin: 'idea'
apply plugin: 'java'
ext.projectIds = ['group': 'bdware.doip', 'version': '0.1']
group projectIds.group
version projectIds.version
sourceCompatibility = 1.8
buildscript{
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
mavenCentral()
}
dependencies {
classpath 'net.sf.proguard:proguard-gradle:6.0.3'
}
}
project(':pzone-crypto') {
group = projectIds.group
version = projectIds.version
apply plugin: 'java'
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
// mavenCentral()
}
}
project(':netty-codec') {
group = projectIds.group
version = projectIds.version
apply plugin: 'java'
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
// mavenCentral()
}
dependencies {
compile project(":pzone-crypto")
}
}
project(':netty-doclient') {
group = projectIds.group
version = projectIds.version
apply plugin: 'java'
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
// mavenCentral()
}
dependencies {
compile project(":netty-codec")
}
}
project(':netty-doserver') {
group = projectIds.group
version = projectIds.version
apply plugin: 'java'
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
// mavenCentral()
}
dependencies {
compile project(":netty-codec")
compile project(":netty-doclient")
}
}
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
// mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.3.11'
compile 'net.sf.proguard:proguard-gradle:6.0.3'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
task collectJar(dependsOn: [jar, compileJava, processResources], type: Copy) {
println configurations.runtime
//from "./build/libs/"
//into "./release/"
from configurations.runtime
into 'release'
println "netty-codec-doip-${projectIds.version}.jar generated at: ./build/libs"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化