plugins {
id "java-gradle-plugin"
}
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.danilopianini/gradle-latex
implementation "org.danilopianini:gradle-latex:0.2.7" // as of 2021-12-02
// https://mvnrepository.com/artifact/net.sourceforge.plantuml/plantuml
implementation group: 'net.sourceforge.plantuml', name: 'plantuml', version: '1.2024.4'
// https://mvnrepository.com/artifact/commons-io/commons-io
implementation group: 'commons-io', name: 'commons-io', version: '2.11.0'
// SVG -> other image format conversion
// https://mvnrepository.com/artifact/org.apache.xmlgraphics/fop
implementation group: 'org.apache.xmlgraphics', name: 'fop', version: '2.8'
// https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-rasterizer
implementation group: 'org.apache.xmlgraphics', name: 'batik-rasterizer', version: '1.16'
// batik-codec needed for PNG and JPEG
// https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-codec
// implementation group: 'org.apache.xmlgraphics', name: 'batik-codec', version: '1.16'
}
gradlePlugin {
plugins {
lecture {
id = "lecture"
implementationClass = "nz.stanger.lecture.Lecture"
}
}
}
// compileJava {
// options.compilerArgs << '-Xlint:unchecked'
// }