Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
build: add subproject schoolDomain
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaBrighi committed May 17, 2023
1 parent 6762569 commit 8ac3371
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions schoolDomain/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
33 changes: 33 additions & 0 deletions schoolDomain/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
plugins {
id("java-library")
id("org.jetbrains.kotlin.jvm")
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

tasks {
withType<Test> {
useJUnitPlatform()
testLogging {
showCauses = true
showStackTraces = true
showStandardStreams = true
events(*org.gradle.api.tasks.testing.logging.TestLogEvent.values())
}
}
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
allWarningsAsErrors = true
freeCompilerArgs += listOf("-opt-in=kotlin.RequiresOptIn", "-Xinline-classes")
}
}
}

dependencies {
implementation(project(":accessDomain"))
testImplementation(gradleTestKit())
testImplementation(libs.bundles.kotlin.testing)
}
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ include(":accessDomain")
include(":accessData")
include(":desktopDomain")
include(":desktopData")
include(":schoolDomain")
include(":networkUtility")

0 comments on commit 8ac3371

Please sign in to comment.