|
1 | 1 | buildscript { repositories { mavenCentral() } }
|
2 |
| - |
3 |
| -// |
4 |
| -//allprojects { |
5 |
| -// group = "no.nav.dagpenger" |
6 |
| -// |
7 |
| -// apply(plugin = "org.jetbrains.kotlin.jvm") |
8 |
| -// apply(plugin = Spotless.spotless) |
9 |
| -// |
10 |
| -// dependencies { |
11 |
| -// implementation(kotlin("stdlib-jdk8")) |
12 |
| -// |
13 |
| -// // ulid |
14 |
| -// implementation(Ulid.ulid) |
15 |
| -// |
16 |
| -// testImplementation(kotlin("test")) |
17 |
| -// testImplementation(Junit5.api) |
18 |
| -// testRuntimeOnly(Junit5.engine) |
19 |
| -// testImplementation(KoTest.assertions) |
20 |
| -// testImplementation(KoTest.runner) |
21 |
| -// } |
22 |
| -// |
23 |
| -// tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { |
24 |
| -// kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString() |
25 |
| -// } |
26 |
| -// |
27 |
| -// java { |
28 |
| -// sourceCompatibility = JavaVersion.VERSION_17 |
29 |
| -// targetCompatibility = JavaVersion.VERSION_17 |
30 |
| -// } |
31 |
| -// |
32 |
| -// tasks.withType<Wrapper> { |
33 |
| -// gradleVersion = "7.5.1" |
34 |
| -// } |
35 |
| -// |
36 |
| -// spotless { |
37 |
| -// kotlin { |
38 |
| -// ktlint(Ktlint.version) |
39 |
| -// } |
40 |
| -// kotlinGradle { |
41 |
| -// target("*.gradle.kts", "buildSrc/**/*.kt*") |
42 |
| -// ktlint(Ktlint.version) |
43 |
| -// } |
44 |
| -// } |
45 |
| -// |
46 |
| -// tasks.withType<Test> { |
47 |
| -// useJUnitPlatform() |
48 |
| -// testLogging { |
49 |
| -// showExceptions = true |
50 |
| -// showStackTraces = true |
51 |
| -// exceptionFormat = TestExceptionFormat.FULL |
52 |
| -// events = setOf(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED) |
53 |
| -// showStandardStreams = true |
54 |
| -// } |
55 |
| -// } |
56 |
| -// |
57 |
| -// tasks.named("compileKotlin") { |
58 |
| -// dependsOn("spotlessApply", "spotlessKotlinCheck") |
59 |
| -// } |
60 |
| -// |
61 |
| -// repositories { |
62 |
| -// mavenCentral() |
63 |
| -// maven("https://jitpack.io") |
64 |
| -// } |
65 |
| -//} |
66 |
| -// |
67 |
| -//subprojects { |
68 |
| -// apply(plugin = "org.jetbrains.kotlin.jvm") |
69 |
| -// apply(plugin = "maven-publish") |
70 |
| -// |
71 |
| -// dependencies { |
72 |
| -// implementation(kotlin("stdlib-jdk8")) |
73 |
| -// |
74 |
| -// testImplementation(kotlin("test")) |
75 |
| -// testImplementation(Junit5.api) |
76 |
| -// testRuntimeOnly(Junit5.engine) |
77 |
| -// testImplementation(Mockk.mockk) |
78 |
| -// } |
79 |
| -//} |
0 commit comments