Release 2.1.0-beta.2 and try publishing docs
This commit is contained in:
parent
54eb73a137
commit
0a0ed7d428
|
@ -8,6 +8,7 @@ buildscript {
|
||||||
classpath "com.github.jruby-gradle:jruby-gradle-plugin:1.1.1"
|
classpath "com.github.jruby-gradle:jruby-gradle-plugin:1.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
apply plugin: 'groovy'
|
||||||
apply plugin: 'org.ajoberstar.github-pages'
|
apply plugin: 'org.ajoberstar.github-pages'
|
||||||
apply plugin: 'com.github.jruby-gradle.base'
|
apply plugin: 'com.github.jruby-gradle.base'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version=2.1.0-beta.1
|
version=2.1.0-beta.2
|
||||||
group=com.github.jruby-gradle
|
group=com.github.jruby-gradle
|
||||||
copyrightYear=2014-2023
|
copyrightYear=2014-2023
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
testRepoDir = new File(buildDir,'tmp/test/repo' )
|
testRepoDir = new File(buildDir, 'tmp/test/repo')
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
@ -11,7 +9,7 @@ configurations {
|
||||||
}
|
}
|
||||||
|
|
||||||
generateTestConfig {
|
generateTestConfig {
|
||||||
testProperties mavenrepo: new File(project(':jruby-gradle-base-plugin').projectDir,'src/integTest/mavenrepo').absolutePath,
|
testProperties mavenrepo: new File(project(':jruby-gradle-base-plugin').projectDir, 'src/integTest/mavenrepo').absolutePath,
|
||||||
flatrepo: testRepoDir.absolutePath
|
flatrepo: testRepoDir.absolutePath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,40 +24,40 @@ dependencies {
|
||||||
compile 'org.ow2.asm:asm-commons:[6.1,6.99)'
|
compile 'org.ow2.asm:asm-commons:[6.1,6.99)'
|
||||||
compile 'org.apache.ant:ant:[1.10.6,2.0)'
|
compile 'org.apache.ant:ant:[1.10.6,2.0)'
|
||||||
|
|
||||||
testCompile (spockVersion) {
|
testCompile(spockVersion) {
|
||||||
exclude module : 'groovy-all'
|
exclude module: 'groovy-all'
|
||||||
}
|
}
|
||||||
|
|
||||||
// For the testRepo tests I am locking the versions, instead of a open version, as it makes
|
// For the testRepo tests I am locking the versions, instead of a open version, as it makes
|
||||||
// unit testing easier, This does not affect the final artifact.
|
// unit testing easier, This does not affect the final artifact.
|
||||||
// If you change values here, you need to update JRubyJarPluginSpec as well.
|
// If you change values here, you need to update JRubyJarPluginSpec as well.
|
||||||
testRepo ("org.jruby:jruby-complete:${jrubyVersion}") {
|
testRepo("org.jruby:jruby-complete:${jrubyVersion}") {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
|
||||||
testRepo ('rubygems:jar-dependencies:0.1.15') {
|
testRepo('rubygems:jar-dependencies:0.1.15') {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
|
||||||
testRepo ('org.jruby.mains:jruby-mains:0.6.1') {
|
testRepo('org.jruby.mains:jruby-mains:0.6.1') {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
|
||||||
testRepoOldFiles ('de.saumya.mojo:jruby-mains:0.3.0') {
|
testRepoOldFiles('de.saumya.mojo:jruby-mains:0.3.0') {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
|
||||||
testRepoOldFiles ("org.jruby:jruby-complete:1.7.11") {
|
testRepoOldFiles("org.jruby:jruby-complete:1.7.11") {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
|
||||||
testRepo (spockVersion) {
|
testRepo(spockVersion) {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
task prepareTestRepo( type : Copy ) {
|
task prepareTestRepo(type: Copy) {
|
||||||
into testRepoDir
|
into testRepoDir
|
||||||
from project.configurations.testRepo
|
from project.configurations.testRepo
|
||||||
from project.configurations.testRepoOldFiles
|
from project.configurations.testRepoOldFiles
|
||||||
|
@ -70,16 +68,15 @@ test {
|
||||||
dependsOn prepareTestRepo
|
dependsOn prepareTestRepo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
groovydoc {
|
groovydoc {
|
||||||
docTitle = "${archivesBaseName} ${version}"
|
docTitle = "${archivesBaseName} ${version}"
|
||||||
}
|
}
|
||||||
|
|
||||||
task installGroovyDoc (type : Copy) {
|
task installGroovyDoc(type: Copy) {
|
||||||
from ({new File(buildDir,'docs/groovydoc')}) {
|
from({ new File(buildDir, 'docs/groovydoc') }) {
|
||||||
include '**'
|
include '**'
|
||||||
}
|
}
|
||||||
into {new File(project.properties.jrubyGradleWebsiteInstallDir,"docs/api/${archivesBaseName}/${version}")}
|
into { new File(project.properties.jrubyGradleWebsiteInstallDir, "docs/api/${archivesBaseName}/${version}") }
|
||||||
onlyIf { project.hasProperty('jrubyGradleWebsiteInstallDir') }
|
onlyIf { project.hasProperty('jrubyGradleWebsiteInstallDir') }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,7 +90,7 @@ pluginBundle {
|
||||||
id = 'com.github.jruby-gradle.jar'
|
id = 'com.github.jruby-gradle.jar'
|
||||||
displayName = 'JRuby/Gradle base plugin'
|
displayName = 'JRuby/Gradle base plugin'
|
||||||
description = 'This plugin encapsulates java archive building functionality for JRuby Gradle projects'
|
description = 'This plugin encapsulates java archive building functionality for JRuby Gradle projects'
|
||||||
tags = (['jruby','fatjar'])
|
tags = (['jruby', 'fatjar'])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue