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

Commit

Permalink
build(access): create build.gradle.kts for subproject accessDomain, u…
Browse files Browse the repository at this point in the history
…pdated in settings.gradle.kts too
  • Loading branch information
AndreaBrighi committed Apr 28, 2023
1 parent 304b16f commit 1a228cf
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions accessDomain/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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 {
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 @@ -36,3 +36,4 @@ gitHooks {

rootProject.name = "IntelligentBackpackApp"
include(":app")
include(":accessDomain")

0 comments on commit 1a228cf

Please sign in to comment.