• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2017-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3  */
4 
<lambda>null5 plugins {
6     `kotlin-dsl`
7 }
8 
<lambda>null9 repositories {
10     /**
11      * Overrides for Teamcity 'K2 User Projects' + 'Aggregate build / Kotlinx libraries compilation' configuration:
12      * kotlin_repo_url - local repository with snapshot Kotlin compiler
13      * kotlin_version - kotlin version to use
14      * kotlin_language_version - LV to use
15      */
16     val snapshotRepoUrl = findProperty("kotlin_repo_url") as String?
17     if (snapshotRepoUrl?.isNotEmpty() == true) {
18         maven(snapshotRepoUrl)
19     }
20     /*
21     * This property group is used to build kotlinx.serialization against Kotlin compiler snapshot.
22     * When build_snapshot_train is set to true, kotlin_version property is overridden with kotlin_snapshot_version.
23     * DO NOT change the name of these properties without adapting kotlinx.train build chain.
24     */
25     if ((findProperty("build_snapshot_train") as? String?).equals("true", true)) {
26         maven("https://oss.sonatype.org/content/repositories/snapshots")
27     }
28 
29     // kotlin-dev with space redirector
30     maven("https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev")
31 
32     maven("https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev")
33     // For Dokka that depends on kotlinx-html
34     maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
35 
36     mavenCentral()
37     mavenLocal()
38 }
39 
<lambda>null40 dependencies {
41     implementation(libs.gradlePlugin.kotlin)
42     implementation(libs.gradlePlugin.kover)
43     implementation(libs.gradlePlugin.dokka)
44     implementation(libs.gradlePlugin.animalsniffer)
45     implementation(libs.gradlePlugin.binaryCompatibilityValidator)
46 }
47 
48