代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/yavijava 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'groovy'
group = "com.toastcoders"
archivesBaseName = "yavijava"
version = '6.0.05'
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
targetCompatibility = 1.6
sourceCompatibility = 1.6
repositories {
mavenCentral()
}
dependencies {
compile 'org.apache.directory.studio:org.dom4j.dom4j:1.6.1'
compile 'log4j:log4j:1.2.17'
compile 'org.apache.httpcomponents:httpclient:4.3.5'
compile 'org.projectlombok:lombok:1.16.6'
testCompile 'javax.servlet:javax.servlet-api:3.1.0'
testCompile 'junit:junit-dep:4.11'
testCompile 'junit:junit:4.12'
testCompile 'org.spockframework:spock-core:0.7-groovy-2.0'
testCompile 'cglib:cglib-nodep:3.1'
testCompile 'org.objenesis:objenesis:2.1'
}
sourceSets {
main {
java {
}
}
intTest {
java {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
}
groovy {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
}
}
test {
java {
}
groovy {
}
}
}
configurations {
intTestCompile.extendsFrom testCompile
intTestRuntime.extendsFrom testRuntime
}
task intTest(type:Test){
description = "Run integration tests (located in src/intTest/...)."
testClassesDir = project.sourceSets.intTest.output.classesDir
classpath = project.sourceSets.intTest.runtimeClasspath
}
test {
testLogging {
events 'started', 'passed'
}
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives javadocJar, sourcesJar
}
signing {
required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") }
sign configurations.archives
}
def ossrhUsername = hasProperty('ossrhUsername') ? ossrhUsername : ''
def ossrhPassword = hasProperty('ossrhPassword') ? ossrhPassword : ''
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
pom.project {
name 'yavijava'
packaging 'jar'
// optionally artifactId can be defined here
description 'Java library for VMware vSphere'
url 'https://github.com/yavijava/yavijava'
scm {
connection 'scm:git:https://github.com/yavijava/yavijava.git'
developerConnection 'scm:git:https://github.com/yavijava/yavijava.git'
url 'https://github.com/yavijava/yavijava'
}
licenses {
license {
name 'BSD'
url 'http://opensource.org/licenses/BSD-3-Clause'
}
}
developers {
developer {
id 'michaelrice'
name 'Michael Rice'
email '[email protected]'
}
}
}
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。