-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
62 lines (55 loc) · 1.46 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
rootProject.name = "object-store-gateway"
include("server")
include("proto")
include("example")
include("client")
include("shared")
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
}
plugins {
kotlin("jvm") version "1.9.0"
kotlin("plugin.spring") version "1.9.0" apply false
id("org.springframework.boot") version "3.1.1" apply false
id("io.spring.dependency-management") version "1.1.3" apply false
id("idea")
id("com.google.protobuf") version "0.9.4" apply false
id("maven-publish") apply false
id("io.github.gradle-nexus.publish-plugin") version "1.1.0" apply false
id("signing") apply false
id("org.jlleitschuh.gradle.ktlint") version "10.3.0" apply false
id("com.adarshr.test-logger") version "3.2.0" apply false
}
}
dependencyResolutionManagement {
repositories {
mavenCentral()
}
}
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath("com.google.protobuf:protobuf-gradle-plugin:0.8.18")
}
}
plugins {
id("org.danilopianini.gradle-pre-commit-git-hooks") version "1.0.19"
}
gitHooks {
preCommit {
from {
"""
echo "Running pre-commit ktlint check"
./gradlew ktlintCheck
""".trimIndent()
}
}
createHooks()
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")