Interface CoreVersions

  • All Known Subinterfaces:
    AsciidoctorjToolchain

    public interface CoreVersions
    Configuring modules for AsciidoctorJ.
    Since:
    5.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.gradle.api.provider.Provider<java.lang.String> getJRubyVersion()
      A provider to a JRuby version.
      void useAsciidoctorj​(java.lang.Object v)
      Overrides the default version of AsciidoctorJ.
      void useJRuby​(java.lang.Object v)
      Overrides the default version of JRuby.
    • Method Detail

      • useAsciidoctorj

        void useAsciidoctorj​(java.lang.Object v)
        Overrides the default version of AsciidoctorJ.
        Parameters:
        v - New version to be used. Can be of anything that can be resolved by ( Object o )
      • useJRuby

        void useJRuby​(java.lang.Object v)
        Overrides the default version of JRuby.
        Parameters:
        v - JRuby version
      • getJRubyVersion

        org.gradle.api.provider.Provider<java.lang.String> getJRubyVersion()
        A provider to a JRuby version.
        Returns:
        It can be empty meaning that the default JRuby that is a transitive of asciidoctorj is in use.