代码拉取完成,页面将自动刷新
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'
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。