forked from jenkinsci/job-dsl-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring into two subprojects, so that the dsl can be developed in…
… isolated and with greater speed
- Loading branch information
Justin Ryan
committed
Nov 13, 2012
1 parent
e0f5f7c
commit e215e35
Showing
65 changed files
with
105 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,9 @@ gradle-app.setting | |
*~ | ||
*.bak | ||
/local* | ||
/build | ||
build | ||
/out | ||
|
||
|
||
#Jenkins specific out | ||
*.hpi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,42 @@ | ||
buildscript { | ||
repositories { | ||
maven { | ||
name 'jenkins-ci-plugins' | ||
url('http://maven.jenkins-ci.org/content/repositories/releases') | ||
|
||
allprojects { | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
} | ||
} | ||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { classpath('org.jenkins-ci.tools:gradle-jpi-plugin:0.4.0') } | ||
} | ||
apply plugin: 'jpi' | ||
|
||
repositories { | ||
maven { | ||
name 'jenkin-ci' | ||
url 'http://maven.jenkins-ci.org/content/repositories/releases' | ||
subprojects { | ||
apply plugin: 'groovy' | ||
dependencies { | ||
//groovy localGroovy() // Can't guarantee 1.8.6 | ||
groovy 'org.codehaus.groovy:groovy-all:1.8.6' | ||
compile 'xmlunit:xmlunit:1.1' | ||
compile 'com.google.guava:guava:13.0.1' | ||
testCompile 'org.spockframework:spock-core:0.6-groovy-1.8' | ||
testCompile 'junit:junit:4.10' | ||
} | ||
test { | ||
useJUnit() // Causes "failed to create temp file to extract class from jar into" | ||
} | ||
mavenCentral() | ||
} | ||
|
||
configurations.testCompile.exclude group: 'org.jenkins-ci.modules', module:'instance-identity' | ||
configurations.testCompile.exclude group: 'org.jenkins-ci.modules', module:'ssh-cli-auth' | ||
|
||
dependencies { | ||
//groovy localGroovy() // Can't guarantee 1.8.6 | ||
groovy 'org.codehaus.groovy:groovy-all:1.8.6' | ||
compile 'xmlunit:xmlunit:1.1' | ||
testCompile 'org.spockframework:spock-core:0.6-groovy-1.8' | ||
testCompile 'junit:junit:4.10' | ||
} | ||
|
||
test { | ||
useJUnit() // Causes "failed to create temp file to extract class from jar into" | ||
} | ||
|
||
group = "org.jenkinsci.plugins" | ||
description = "This plugin allows definition of Jobs via a DSL, using existing Jobs as a template." | ||
//archivesBaseName = "job-dsl-plugin" | ||
|
||
jenkinsPlugin { | ||
coreVersion = '1.456' | ||
displayName = 'Job DSL' | ||
url = 'https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin' | ||
gitHubUrl = 'https://github.com/jenkinsci/job-dsl-plugin' | ||
developers { | ||
developer { | ||
id 'quidryan' | ||
name 'Justin Ryan' | ||
email '[email protected]' | ||
} | ||
developer { | ||
id 'andrewharmellaw' | ||
name 'Andrew Harmel-Law' | ||
email '[email protected]' | ||
} | ||
developer { | ||
id 'sit' | ||
name 'Emil Sit' | ||
email '[email protected]' | ||
} | ||
task wrapper(type: Wrapper) { gradleVersion = '1.2' } | ||
|
||
project(':job-dsl-core') { | ||
dependencies { | ||
} | ||
} | ||
|
||
task wrapper(type: Wrapper) { gradleVersion = '1.2' } | ||
|
||
apply from: 'gradle/ide.gradle' | ||
project(':job-dsl-plugin') { | ||
dependencies { | ||
compile project(':job-dsl-core') | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=1.5 | ||
version=1.6-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
buildscript { | ||
repositories { | ||
maven { | ||
name 'jenkins-ci-plugins' | ||
url('http://maven.jenkins-ci.org/content/repositories/releases') | ||
} | ||
} | ||
dependencies { classpath('org.jenkins-ci.tools:gradle-jpi-plugin:0.4.0') } | ||
} | ||
apply plugin: 'jpi' | ||
|
||
repositories { | ||
maven { | ||
name 'jenkin-ci' | ||
url 'http://maven.jenkins-ci.org/content/repositories/releases' | ||
} | ||
} | ||
|
||
configurations.testCompile.exclude group: 'org.jenkins-ci.modules', module:'instance-identity' | ||
configurations.testCompile.exclude group: 'org.jenkins-ci.modules', module:'ssh-cli-auth' | ||
|
||
description = "Jenkins plugin to leverage job-dsl-core to programmatic create jobs from inside Jenkins." | ||
|
||
jenkinsPlugin { | ||
coreVersion = '1.456' | ||
displayName = 'Job DSL' | ||
url = 'https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin' | ||
gitHubUrl = 'https://github.com/jenkinsci/job-dsl-plugin' | ||
developers { | ||
developer { | ||
id 'quidryan' | ||
name 'Justin Ryan' | ||
email '[email protected]' | ||
} | ||
developer { | ||
id 'andrewharmellaw' | ||
name 'Andrew Harmel-Law' | ||
email '[email protected]' | ||
} | ||
developer { | ||
id 'sit' | ||
name 'Emil Sit' | ||
email '[email protected]' | ||
} | ||
} | ||
} | ||
|
||
//apply from: 'ide.gradle' |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
rootProject.name='job-dsl-plugin' | ||
rootProject.name='job-dsl-plugin-root' | ||
include 'job-dsl-core', 'job-dsl-plugin' |