diff --git a/build.gradle b/build.gradle index 5e5f49c..5497937 100644 --- a/build.gradle +++ b/build.gradle @@ -20,6 +20,12 @@ wrapper { gradleVersion = '4.4' } +javadoc { + doLast { + new File(destinationDir, 'stylesheet.css').append(file('src/javadoc/stylesheet.css').text) + } +} + task sourcesJar(type: Jar, dependsOn: classes) { classifier = 'sources' from sourceSets.main.allSource diff --git a/src/javadoc/stylesheet.css b/src/javadoc/stylesheet.css new file mode 100644 index 0000000..0549b63 --- /dev/null +++ b/src/javadoc/stylesheet.css @@ -0,0 +1,5 @@ +/* Code blocks */ +.block pre { + background-color: #F6F8FA !important; + padding: 0 1rem !important; +}