Skip to content
Snippets Groups Projects
Verified Commit 95152380 authored by Sebastian's avatar Sebastian
Browse files

Use null-safety annotations on buildSrc code

parent f2111fcb
No related branches found
No related tags found
1 merge request!1Run tests on Linux and Windows
Pipeline #14532 passed
repositories {
mavenCentral()
}
dependencies {
api 'org.briarproject:null-safety:0.1'
}
\ No newline at end of file
package org.briarproject.onionwrapper;
import org.briarproject.nullsafety.NotNullByDefault;
@NotNullByDefault
public enum OS {
Linux("linux"),
Windows("windows"),
......
package org.briarproject.onionwrapper;
import org.briarproject.nullsafety.NotNullByDefault;
import static org.briarproject.onionwrapper.StringUtils.startsWithIgnoreCase;
@NotNullByDefault
public class OsUtils {
public static final OS currentOS;
......
package org.briarproject.onionwrapper;
import org.briarproject.nullsafety.NotNullByDefault;
@NotNullByDefault
public class StringUtils {
// see https://stackoverflow.com/a/38947571
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment