-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
201 additions
and
188 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
java temurin-11.0.24+8 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,51 @@ | ||
import org.ysb33r.gradle.gradletest.GradleTest | ||
|
||
agProject { | ||
withOfflineTestConfigurations() | ||
|
||
configurePlugin( | ||
'org.asciidoctor.jvm.revealjs.base', | ||
'AsciidoctorJ Reveal.js Base Plugin', | ||
'Base plugin for all AsciidoctorJ Reveal.js tasks & extensions. Provides the revealjs and revealjsPlugins project extensions.', | ||
'org.asciidoctor.gradle.jvm.slides.AsciidoctorRevealJSBasePlugin', | ||
['asciidoctorj', 'reveal.js', 'slides'] | ||
) | ||
|
||
configurePlugin( | ||
'org.asciidoctor.jvm.revealjs', | ||
'AsciidoctorJ Reveal.js Plugin', | ||
'Plugin for generating Reveal.JS based slides from Asciidoc source using AsciidoctorJ. Provides the asciidoctorRevealJs task.', | ||
'org.asciidoctor.gradle.jvm.slides.AsciidoctorRevealJSPlugin', | ||
['asciidoctorj', 'reveal.js', 'slides'] | ||
) | ||
} | ||
|
||
generateModuleVersions { | ||
basename = 'revealjs-extension' | ||
propertyNames ~/^revealjs\./ | ||
} | ||
|
||
dependencies { | ||
api project(':asciidoctor-gradle-jvm') | ||
implementation project(':asciidoctor-gradle-base') | ||
implementation project(':asciidoctor-gradle-jvm-gems') | ||
implementation "com.github.jruby-gradle:jruby-gradle-core-plugin:${jrubyGradleVersion}" | ||
implementation "org.ysb33r.gradle.jruby:jrubygradle-resolver:${pluginJrubySimpleVersion}" | ||
} | ||
|
||
intTest { | ||
enabled = !gradle.startParameter.isOffline() | ||
tasks.named('intTest', Test) { | ||
systemProperties TEST_PROJECTS_DIR: file('src/intTest/projects') | ||
maxParallelForks = 4 | ||
forkEvery = 7 | ||
} | ||
|
||
gradleTest { | ||
enabled = !gradle.startParameter.isOffline() | ||
tasks.named('test', Test) { | ||
dependsOn ':testfixtures-offline-repo:buildOfflineRepositories' | ||
systemProperties OFFLINE_REPO: offlineRepoRoot.absolutePath | ||
} | ||
|
||
configurePlugin 'org.asciidoctor.jvm.revealjs.base', | ||
'AsciidoctorJ Reveal.js Base Plugin', | ||
'Base plugin for all AsciidoctorJ Reveal.js tasks & extensions. Provides the revealjs and revealjsPlugins project extensions.', | ||
['asciidoctorj', 'reveal.js', 'slides'] | ||
tasks.named('gradleTest', GradleTest) { | ||
systemProperties ASCIIDOCTORJ_VERSION: compileOnlyAsciidoctorJVersion | ||
systemProperties GROOVY_VERSION: GroovySystem.version | ||
|
||
configurePlugin 'org.asciidoctor.jvm.revealjs', | ||
'AsciidoctorJ Reveal.js Plugin', | ||
'Plugin for generating Reveal.JS based slides from Asciidoc source using AsciidoctorJ. Provides the ascidoctorRevealJs task.', | ||
['asciidoctorj', 'reveal.js', 'slides'] | ||
gradleArguments '-i', '-s' | ||
} |
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
Oops, something went wrong.