Browse Source

Fixed missing build directory when creating documentation.

pull/127/head
weisj 5 years ago
parent
commit
71dc77d73a
  1. 2
      .github/workflows/documentation.yml
  2. 3
      core/build.gradle.kts

2
.github/workflows/documentation.yml

@ -20,7 +20,7 @@ jobs:
java-version: 11
- uses: eskatos/gradle-command-action@v1
with:
arguments: :darklaf-core:CreateUITable.main()
arguments: :darklaf-core:makeDocumentation
- name: Upload documentation
uses: actions/upload-artifact@v1
with:

3
core/build.gradle.kts

@ -36,10 +36,11 @@ tasks.jar {
val makeDocumentation by tasks.registering(JavaExec::class) {
group = "Development"
description = "Builds and starts JMeter GUI"
description = "Builds the documentation"
dependsOn(tasks.testClasses)
workingDir = File(project.rootDir, "build")
workingDir.mkdirs()
main = "documentation.CreateUITable"
classpath(sourceSets.main.get().runtimeClasspath, sourceSets.test.get().runtimeClasspath)
}

Loading…
Cancel
Save