Skip to content

Commit

Permalink
Merge pull request #476 from isolgpus/master
Browse files Browse the repository at this point in the history
Fix asciidoctor build by moving away from pygments highlighting to ro…
  • Loading branch information
swarren12 authored Jul 18, 2024
2 parents 95c705f + 7f2fdf5 commit f0a1d60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ plugins {
id 'idea'
id "io.github.reyerizo.gradle.jcstress" version "0.8.14"
id 'org.asciidoctor.jvm.convert' version '3.3.2'
id 'org.asciidoctor.jvm.gems' version '3.3.2'
id "me.champeau.jmh" version "0.6.8"
id "biz.aQute.bnd.builder" version "6.3.1"
}
Expand Down Expand Up @@ -50,7 +49,6 @@ wrapper.gradleVersion = '7.6'

repositories {
mavenCentral()
ruby.gems()
}

sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
Expand Down
11 changes: 1 addition & 10 deletions gradle/asciidoc.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
// Configure ASCIIDoc publishing
//

dependencies {
asciidoctorGems 'rubygems:pygments.rb:2.+'
}

asciidoctorj {
requires("pygments")
}

asciidoctor {
languages 'en'
resources {
Expand All @@ -28,7 +20,7 @@ asciidoctor {
// the documents themselves - so to some degree it's pointless setting anything
// at a document level. That said, IntelliJ IDEA doesn't know this, so it's
// still kind of nice to have them at a document level so it doesn't complain!
attributes 'source-highlighter': 'pygments',
attributes 'source-highlighter': 'rouge',
'toc': 'left',
'icons': 'font',
'xrefstyle': 'short',
Expand All @@ -37,5 +29,4 @@ asciidoctor {
baseDirFollowsSourceFile()

asciidoctorj.version = '2.4.3'
dependsOn asciidoctorGemsPrepare
}

0 comments on commit f0a1d60

Please sign in to comment.