Update & use gitlab registry

This commit is contained in:
Oliver Rümpelein 2021-03-06 14:53:28 +01:00
parent cba501824f
commit bdd8c1d7d9
3 changed files with 12 additions and 5 deletions

View file

@ -1,8 +1,9 @@
import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript { buildscript {
extra.apply { extra.apply {
set("pheeraiBomVersion", "0.0.1-SNAPSHOT") set("pheeraiBomVersion", "0.0.3-SNAPSHOT")
set("kotlinApiVersion", "1.4") set("kotlinApiVersion", "1.4")
set("javaVersion", JavaVersion.VERSION_11) set("javaVersion", JavaVersion.VERSION_11)
} }
@ -23,7 +24,8 @@ repositories {
mavenCentral() mavenCentral()
jcenter() jcenter()
google() google()
mavenLocal { maven {
url = uri("https://git.f3l.de/api/v4/projects/160/packages/maven")
mavenContent { mavenContent {
includeGroup("de.pheerai") includeGroup("de.pheerai")
includeGroup("de.pheerai.eap") includeGroup("de.pheerai.eap")
@ -39,8 +41,13 @@ java {
sourceCompatibility = getFromExtra("javaVersion") sourceCompatibility = getFromExtra("javaVersion")
} }
kotlin {
explicitApi = ExplicitApiMode.Strict
}
dependencies { dependencies {
implementation(enforcedPlatform("de.pheerai:kotlin-native-app-bom:${getFromExtra<String>("pheeraiBomVersion")}")) implementation(enforcedPlatform("de.pheerai:kotlin-crawler-app-bom:${getFromExtra<String>("pheeraiBomVersion")}"))
testImplementation("io.kotest", "kotest-runner-junit5-jvm") testImplementation("io.kotest", "kotest-runner-junit5-jvm")
testImplementation("io.kotest", "kotest-assertions-core-jvm") testImplementation("io.kotest", "kotest-assertions-core-jvm")
} }

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View file

@ -1,6 +1,6 @@
pluginManagement { pluginManagement {
plugins { plugins {
kotlin("jvm") version "1.4.0" kotlin("jvm") version "1.4.30"
} }
} }