1 Star 0 Fork 52

lewischang/rexdb

forked from rex/rexdb 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.80 KB
一键复制 编辑 原始数据 按行查看 历史
changliwei 提交于 2017-08-15 17:57 . 使用gradle的方式
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
version = '1.0'
jar {
zip64 true
manifest {
attributes 'Implementation-Title': 'Gradle',
'Implementation-Version': version
}
from ({configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }}) {
// remove all signature files
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
}
repositories {
maven { url "http://10.207.2.29:8081/repository/maven-public/" }
maven { url "http://maven.oschina.net/content/groups/public/"}
// flatDir { dirs 'lib'}
jcenter()
}
dependencies {
compile group: 'mysql', name: 'mysql-connector-java', version: '6.0.6'
compile group: 'javax.transaction', name: 'jta', version: '1.1'
compile group: 'com.oracle', name: 'classes12', version: '10.2.0.2.0'
compile group: 'commons-logging', name: 'commons-logging', version: '1.2'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.8.2'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.8.2'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.8.0-alpha2'
compile group: 'commons-dbcp', name: 'commons-dbcp', version: '1.4'
compile group: 'commons-pool', name: 'commons-pool', version: '1.6'
compile group: 'org.javassist', name: 'javassist', version: '3.22.0-CR2'
testCompile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.8.0-alpha2'
testCompile group: 'junit', name: 'junit', version: '4.+'
}
uploadArchives {
repositories {
flatDir {
dirs 'lib'
}
}
}
//设置编码
tasks.withType(JavaCompile) {
options.encoding ="UTF-8"
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/lewischang/rexdb.git
git@gitee.com:lewischang/rexdb.git
lewischang
rexdb
rexdb
master

搜索帮助