Skip to content

Commit 7884660

Browse files
committed
Bruke dp-version-catalog for å hente avhengigheter.
1 parent 3018e10 commit 7884660

File tree

12 files changed

+85
-455
lines changed

12 files changed

+85
-455
lines changed

.github/workflows/reviewdog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
with:
1717
github_token: ${{ secrets.github_token }}
1818
reporter: github-check
19-
ktlint_version: 0.43.2
19+
ktlint_version: 1.0.1

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
FROM ghcr.io/navikt/baseimages/temurin:17
2-
3-
EXPOSE 50051
4-
52
COPY dp-inntekt-api/build/libs/dp-inntekt-api-all.jar /app/app.jar

build.gradle.kts

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1 @@
11
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-
//}

buildSrc/src/main/kotlin/Constants.kt

Lines changed: 0 additions & 276 deletions
This file was deleted.

buildSrc/src/main/kotlin/common.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import com.diffplug.spotless.LineEnding
21
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
32
import org.gradle.api.tasks.testing.logging.TestLogEvent
43
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

0 commit comments

Comments
 (0)