-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.gradle.kts
44 lines (38 loc) · 1.02 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
rootProject.name = "alpha-shot"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("org.danilopianini.gradle-pre-commit-git-hooks") version "2.0.7"
}
gitHooks {
hook("pre-push") {
val extension = if (System.getProperty("os.name").startsWith("Windows")) "bat" else "sh"
from(File("pre-push.$extension"))
}
createHooks()
}
dependencyResolutionManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
}
}
include(":composeApp")