Permalink
Browse files

Refactoring

  • Loading branch information...
1 parent 9154539 commit 3c762e2e8f8840df01340c875d944af8aa7baed4 @cbeams cbeams committed Jan 3, 2012
View
@@ -1,6 +1,6 @@
.gradle
build
-!src/main/groovy/org/springframework/build
+!*/src/*/*/org/springframework/build
*.sw?
.classpath
.project
View
Binary file not shown.
@@ -1,6 +1,6 @@
-#Tue Nov 01 19:54:31 PDT 2011
+#Thu Dec 22 11:37:07 CET 2011
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=http\://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-5-bin.zip
+distributionUrl=http\://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-6-bin.zip
View
@@ -1,9 +1,9 @@
buildscript {
repositories {
- mavenRepo url: 'https://repo.springsource.org/plugins-snapshot'
+ maven { url 'https://repo.springsource.org/plugins-release' }
}
dependencies {
- classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.0.x-SNAPSHOT'
+ classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.0.7'
}
}
@@ -16,25 +16,25 @@ subprojects {
apply plugin: 'maven'
apply plugin: 'eclipse'
+ group = 'org.springframework.build.gradle'
+
repositories {
- mavenRepo url: 'https://repo.springsource.org/libs-release'
+ maven { url 'https://repo.springsource.org/libs-release' }
}
dependencies {
- //groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.8.3'
compile gradleApi()
groovy localGroovy()
}
}
project(':gradle-bundlor-plugin') {
- group = 'org.springframework.build.bundlor'
- version = '1.0.0-SNAPSHOT'
+ dependencies {
+ }
}
+/*
project(':gradle-docbook-plugin') {
- group = 'org.springframework.build.docbook'
- version = '1.0.0-SNAPSHOT'
dependencies {
compile 'org.apache.xerces:resolver:2.9.1',
'saxon:saxon:6.5.3',
@@ -52,12 +52,13 @@ project(':gradle-docbook-plugin') {
'org.apache.avalon.framework:avalon-framework-api:4.3.1'
}
}
+*/
repoUser = project.properties['REPO_USERNAME']
repoPass = project.properties['REPO_PASSWORD']
gradle.taskGraph.whenReady {taskGraph ->
- if (taskGraph.hasTask(':artifactoryPublish') &&
+ if (taskGraph.hasTask(':docbook-reference-plugin:artifactoryPublish') &&
(repoUser == null || repoPass == null)) {
throw new InvalidUserDataException(
"Please provide REPO_USERNAME and REPO_PASSWORD properties")
@@ -88,5 +89,5 @@ artifactory {
task wrapper(type:Wrapper) {
jarFile = ".wrapper/gradle-wrapper.jar";
- gradleVersion='1.0-milestone-5'
+ gradleVersion='1.0-milestone-6'
}
@@ -2,7 +2,7 @@ apply plugin: 'groovy'
apply plugin: 'maven'
group = 'org.springframework.build.docbook'
-version = '1.0.0-SNAPSHOT'
+version = '0.1.0-SNAPSHOT'
repositories {
mavenCentral()
@@ -0,0 +1 @@
+version = 0.1.0-SNAPSHOT
@@ -0,0 +1 @@
+version = 1.0.0-SNAPSHOT
Oops, something went wrong.

0 comments on commit 3c762e2

Please sign in to comment.