Skip to content

Commit

Permalink
fix: javadoc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mworzala committed Jul 2, 2024
1 parent 4b1cd62 commit c01ca21
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,24 @@ sourceSets {
}
}


tasks.withType<Jar> {
archiveBaseName = "luau"
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
options.compilerArgs.add("--enable-preview")
}

tasks.javadoc {
(options as StandardJavadocDocletOptions).run {
encoding = "UTF-8"
addStringOption("source", "21")
addBooleanOption("-enable-preview", true)
}
}

tasks.test {
useJUnitPlatform()

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/net/hollowcube/luau/compiler/DebugLevel.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ public enum DebugLevel {
*/
NONE,
/**
* line info & function names only; sufficient for backtraces
* line info and function names only; sufficient for backtraces
*/
BACKTRACE,
/**
* full debug info with local & upvalue names; necessary for debugger
* full debug info with local and upvalue names; necessary for debugger
*/
DEBUGGER,
}

0 comments on commit c01ca21

Please sign in to comment.