Skip to content

Commit

Permalink
Merge pull request #2 from xyzsd/v1.0
Browse files Browse the repository at this point in the history
V1.0
  • Loading branch information
xyzsd authored Dec 1, 2023
2 parents 123519b + 622ae38 commit 728f67a
Show file tree
Hide file tree
Showing 26 changed files with 4,324 additions and 2,208 deletions.
13 changes: 12 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.3")
}

java {
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
vendor.set(JvmVendorSpec.ADOPTIUM)
Expand All @@ -37,10 +37,21 @@ tasks.getByName<Test>("test") {
}



tasks.withType<JavaCompile>().configureEach {
options.compilerArgs.add("-Xlint:preview")
}


tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

tasks.withType<JavaExec>().configureEach {
}



publishing {
publications {
create<MavenPublication>("mavenJava") {
Expand Down
11 changes: 11 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/**
* Module declaration for the net.xyzsd.dichotomy module.
* This module exports three packages:
* - net.xyzsd.dichotomy.trying.function
* - net.xyzsd.dichotomy
* - net.xyzsd.dichotomy.trying
*
* This module requires the org.jetbrains.annotations module in a static manner.
*
*
*/
module net.xyzsd.dichotomy {
requires static org.jetbrains.annotations;

Expand Down
Loading

0 comments on commit 728f67a

Please sign in to comment.