-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle.kts
47 lines (44 loc) · 1.43 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import java.net.URI
pluginManagement {
includeBuild("convention-plugins")
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
plugins {
id("de.fayard.refreshVersions") version "0.60.5"
}
}
buildscript {
// Workaround for: https://github.com/Splitties/refreshVersions/issues/707
dependencies {
classpath("com.squareup.okio:okio:3.9.0")
}
}
plugins {
id("de.fayard.refreshVersions")
}
refreshVersions {
rejectVersionIf {
// Recent versions of ktlint gradle plugin changed the default
// code convention style which affects nearly all files in the codebase,
// so, for now we are rejecting updates, as we are fine with the current style.
val blacklist = listOf("org.jlleitschuh.gradle.ktlint")
candidate.stabilityLevel.isLessStableThan(current.stabilityLevel) || moduleId.group in blacklist || candidate.value.endsWith("-jre") || candidate.value.endsWith("-1.8.20")
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url = URI.create("https://jitpack.io") }
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
rootProject.name = "Ludi"
include(":androidApp")
include(":shared")
include(":desktopApp")