Skip to content

Commit

Permalink
enable module system warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tonivade committed May 7, 2024
1 parent ba6bab8 commit 4b412f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ allprojects {
compileJava {
options.compilerArgs << '-Xlint:unchecked'
options.compilerArgs << '-Xlint:rawtypes'
options.compilerArgs << '-Xlint:module'
options.compilerArgs << '-Xlint:exports'
options.compilerArgs << '-Xlint:opens'
options.release = 21
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import com.github.tonivade.purefun.core.PartialFunction1;

interface Marker {
public interface Marker {

interface Cont<R> {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import com.github.tonivade.purefun.data.NonEmptyList;
import com.github.tonivade.purefun.type.Option;

sealed interface MetaCont<A, B> {
public sealed interface MetaCont<A, B> {

Result<B> apply(A value);

Expand Down

0 comments on commit 4b412f7

Please sign in to comment.