From 77903b33f3843e61857e729c14abeb14a29b3014 Mon Sep 17 00:00:00 2001 From: dzikoysk Date: Mon, 7 Aug 2023 23:32:21 +0200 Subject: [PATCH] GH-1899 Fix backend dependencies --- reposilite-backend/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reposilite-backend/build.gradle.kts b/reposilite-backend/build.gradle.kts index 00be6e17c..6a6c84e07 100644 --- a/reposilite-backend/build.gradle.kts +++ b/reposilite-backend/build.gradle.kts @@ -18,6 +18,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar import io.gitlab.arturbosch.detekt.Detekt import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask import org.apache.tools.ant.filters.ReplaceTokens +import org.jetbrains.kotlin.gradle.tasks.KaptGenerateStubs plugins { jacoco @@ -104,7 +105,7 @@ dependencies { implementation("com.google.http-client:google-http-client:$httpClient") { exclude(group = "commons-codec", module = "commons-codec")} testImplementation("com.google.http-client:google-http-client-jackson2:$httpClient") - val commonsCoded = "1.16" + val commonsCoded = "1.16.0" api("commons-codec:commons-codec:$commonsCoded") val jansi = "2.4.0" @@ -188,6 +189,7 @@ tasks { compileKotlin { dependsOn("generateKotlin") } sourcesJar { dependsOn("generateKotlin") } kotlinSourcesJar { dependsOn("generateKotlin") } + withType { dependsOn("generateKotlin") } } kotlin.sourceSets.main {