This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(access): create build.gradle.kts for subproject accessDomain, u…
…pdated in settings.gradle.kts too
- Loading branch information
1 parent
304b16f
commit 1a228cf
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,4 @@ gitHooks { | |
|
||
rootProject.name = "IntelligentBackpackApp" | ||
include(":app") | ||
include(":accessDomain") |