1 Star 0 Fork 2

wulugeng/MaxKey-Client-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 3.67 KB
一键复制 编辑 原始数据 按行查看 历史
达奇 提交于 2020-07-11 18:10 . fix update
description = "maxkey-client-sdk"
/*
* This build file was auto generated by running the Gradle buildrelease.bat
*/
defaultTasks "clean", "build"
//Version define
ext {
}
configurations.all {
transitive = false// 为本依赖关闭依赖传递特性
}
// Apply the java plugin to add support for Java
//apply plugin: 'java'
allprojects {
apply plugin: "java"
apply plugin: "eclipse"
//apply plugin: "pmd"
//apply plugin: "findbugs"
//apply plugin: "jdepend"
configurations.all {
transitive = false// 为本依赖关闭依赖传递特性
}
//JAVA Version
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
eclipse {
/*第一次时请注释这段eclipse设置,可能报错*/
jdt {
File f = file('.settings/org.eclipse.core.resources.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('encoding/<project>=UTF-8') //use UTF-8
}
/*
wtp {
facet {
facet name: 'jst.web', type: Facet.FacetType.fixed
facet name: 'wst.jsdt.web', type: Facet.FacetType.fixed
facet name: 'jst.java', type: Facet.FacetType.fixed
facet name: 'jst.web', version: '3.0'
facet name: 'jst.java', version: '1.7'
facet name: 'wst.jsdt.web', version: '1.0'
}
}*/
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
// classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.6.RELEASE")
}
}
sourceSets {
main {
java {
srcDir 'src/main/java' // 指定源码目录
}
resources {
srcDir 'src/main/resources' //资源目录
}
}
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url "https://repo1.maven.org/maven2/" }
maven { url "https://mvnrepository.com/repos/central/" }
maven { url "http://jcenter.bintray.com" }
maven { url "http://mvn.gt.igexin.com/nexus/content/repositories/releases"}
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://repo.spring.io/plugins-release/" }
maven { url "https://repo.spring.io/milestone" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "https://maven.repository.redhat.com/ga/" }
maven { url "https://repository.apache.org/content/repositories/releases/" }
}
dependencies {
testCompile 'junit:junit:4.11'
compileOnly 'junit:junit:4.11'
testCompile group: 'javax.servlet', name: 'javax.servlet-api', version: '3.0.1'
compileOnly group: 'javax.servlet', name: 'javax.servlet-api', version: '3.0.1'
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
testCompile group: 'xmlunit', name: 'xmlunit', version: '1.6'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'commons-logging', name: 'commons-logging', version: '1.2'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.5.11'
compile group: 'commons-codec', name: 'commons-codec', version: '1.14'
compile group: 'com.nimbusds', name: 'nimbus-jose-jwt', version: '8.10'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "2.11.0"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "2.11.0"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: "2.11.0"
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: "4.5.3"
compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.13'
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wulugeng/MaxKey-Client-sdk.git
git@gitee.com:wulugeng/MaxKey-Client-sdk.git
wulugeng
MaxKey-Client-sdk
MaxKey-Client-sdk
master

搜索帮助