File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Sources/SwiftJavaTool/Commands Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def jextract = tasks.register("jextract", Exec) {
103103 workingDir = layout. projectDirectory
104104 commandLine " swift"
105105 // TODO: -v for debugging build issues...
106- args(" build" , " -v " ) // since Swift targets which need to be jextract-ed have the jextract build plugin, we just need to build
106+ args(" build" ) // since Swift targets which need to be jextract-ed have the jextract build plugin, we just need to build
107107 // If we wanted to execute a specific subcommand, we can like this:
108108 // args("run",/*
109109 // "swift-java", "jextract",
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ extension SwiftJava.JExtractCommand {
9595 let writeEmptyFiles = CommandLine . arguments. contains ( " --write-empty-files " ) ? true : nil
9696 configure ( & config. writeEmptyFiles, overrideWith: writeEmptyFiles)
9797
98- config. writeEmptyFiles = writeEmptyFiles
9998 configure ( & config. unsignedNumbersMode, overrideWith: self . unsignedNumbersMode)
10099 configure ( & config. minimumInputAccessLevelMode, overrideWith: self . minimumInputAccessLevelMode)
101100 configure ( & config. memoryManagementMode, overrideWith: self . memoryManagementMode)
@@ -134,7 +133,7 @@ extension SwiftJava.JExtractCommand {
134133 }
135134 }
136135
137- func configure< T> ( _ setting: inout T , overrideWith value: T ? ) {
136+ func configure< T> ( _ setting: inout T ? , overrideWith value: T ? ) {
138137 if let value {
139138 setting = value
140139 }
You can’t perform that action at this time.
0 commit comments