Remove old build files
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
apply plugin: "com.jfrog.artifactory"
|
||||
|
||||
def isSnapshot = version?.endsWith("-SNAPSHOT")
|
||||
def isMilestone = version?.matches('^.*[.-]M\\d+$') || version?.matches('^.*[.-]RC\\d+$')
|
||||
|
||||
artifactory {
|
||||
contextUrl = 'https://repo.spring.io'
|
||||
publish {
|
||||
repository {
|
||||
repoKey = 'libs-release-local'
|
||||
if (isSnapshot) {
|
||||
repoKey = 'libs-snapshot-local'
|
||||
} else if (isMilestone) {
|
||||
repoKey = 'libs-milestone-local'
|
||||
}
|
||||
if(project.hasProperty('artifactoryUsername')) {
|
||||
username = artifactoryUsername
|
||||
password = artifactoryPassword
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
artifactoryPublish {
|
||||
publishConfigs 'archives'
|
||||
publishIvy false
|
||||
properties = [
|
||||
'bintray.package': "${project.group}:spring-security",
|
||||
'bintray.version': "${project.version}"
|
||||
]
|
||||
}
|
||||
|
||||
artifactory {
|
||||
publish {
|
||||
defaults {
|
||||
publishConfigs('archives')
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
def isSnapshot = version?.endsWith("-SNAPSHOT")
|
||||
def isMilestone = version?.matches('^.*[.-]M\\d+$') || version?.matches('^.*[.-]RC\\d+$')
|
||||
def isRelease = !(isSnapshot || isMilestone)
|
||||
|
||||
task deployArtifacts {
|
||||
group = 'Deploy tasks'
|
||||
description = "Deploys the artifacts to either Artifactory or Maven Central"
|
||||
if(isRelease) {
|
||||
dependsOn "uploadArchives"
|
||||
} else {
|
||||
dependsOn "artifactoryPublish"
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
def isSnapshot = version?.endsWith("-SNAPSHOT")
|
||||
def isMilestone = version?.matches('^.*[.-]M\\d+$') || version?.matches('^.*[.-]RC\\d+$')
|
||||
def isRelease = !(isSnapshot || isMilestone)
|
||||
|
||||
task finalizeDeployArtifacts {
|
||||
}
|
||||
|
||||
if (isRelease && project.hasProperty("ossrhUsername")) {
|
||||
project.ext.nexusUsername = project.ossrhUsername
|
||||
project.ext.nexusPassword = project.ossrhPassword
|
||||
project.getPluginManager().apply("io.codearte.nexus-staging")
|
||||
finalizeDeployArtifacts.dependsOn project.tasks.closeAndReleaseRepository
|
||||
project.nexusStaging.packageGroup = 'org.springframework'
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'org.springframework.optional'
|
||||
|
||||
ext.apacheDsVersion = '1.5.5'
|
||||
ext.springVersion = '4.3.27.RELEASE'
|
||||
ext.springDataVersion = '1.13.23.RELEASE'
|
||||
ext.springBatchVersion = '2.0.4.RELEASE'
|
||||
ext.junitVersion = '4.12'
|
||||
ext.commonsIoVersion = '2.4'
|
||||
ext.commonsPoolVersion = '1.6'
|
||||
ext.commonsLangVersion = '2.6'
|
||||
ext.commonsLoggingVersion = '1.2'
|
||||
ext.gsbaseVersion = '2.0.1'
|
||||
ext.log4jVersion = '1.2.17'
|
||||
ext.mockitoVersion = '1.10.19'
|
||||
ext.queryDslVersion = '4.0.9'
|
||||
ext.slf4jVersion = '1.7.21'
|
||||
ext.powerMockVersion = '1.6.5'
|
||||
ext.commonsPool2Version = '2.4.2'
|
||||
ext.assertjVersion= '2.3.0'
|
||||
ext.hibernateVersion = '5.2.5.Final'
|
||||
ext.springSecurityVersion='4.2.15.RELEASE'
|
||||
ext.unboundidVersion = '6.0.3'
|
||||
|
||||
ext.powerMockDependencies = [
|
||||
"org.powermock:powermock-core",
|
||||
"org.powermock:powermock-api-support",
|
||||
"org.powermock:powermock-module-junit4-common",
|
||||
"org.powermock:powermock-module-junit4",
|
||||
dependencies.create("org.powermock:powermock-api-mockito") {
|
||||
exclude group: 'org.mockito', module: 'mockito-all'
|
||||
},
|
||||
"org.powermock:powermock-reflect"
|
||||
]
|
||||
|
||||
ext.apachedsDependencies = [
|
||||
"org.apache.directory.server:apacheds-core",
|
||||
"org.apache.directory.server:apacheds-core-entry",
|
||||
"org.apache.directory.server:apacheds-protocol-shared",
|
||||
"org.apache.directory.server:apacheds-protocol-ldap",
|
||||
"org.apache.directory.server:apacheds-server-jndi",
|
||||
'org.apache.directory.shared:shared-ldap:0.9.15'
|
||||
]
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'https://repo.spring.io/libs-snapshot' }
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
apply plugin: ''
|
||||
Reference in New Issue
Block a user