forked from DroidKaigi/conference-app-2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (65 loc) · 2 KB
/
build.gradle
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
63
64
65
66
67
68
69
70
71
72
73
74
import io.github.droidkaigi.feeder.Dep
buildscript {
ext {
nav_compose_version = "1.0.0-alpha08"
kotlin_version = "1.4.30"
}
repositories {
google()
mavenCentral()
jcenter()
maven { url = "https://dl.bintray.com/kotlin/kotlin-eap" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.0-alpha08'
classpath Dep.Kotlin.bom
classpath Dep.Kotlin.plugin
classpath Dep.Kotlin.stdlibJdk8
classpath Dep.Kotlin.serializationPlugin
classpath Dep.PlayServices.plugin
classpath Dep.Dagger.plugin
classpath Dep.FirebaseCrashlytics.plugin
classpath 'app.cash.exhaustive:exhaustive-gradle:0.1.1'
classpath Dep.SQLDelight.plugin
}
}
plugins {
id 'com.diffplug.spotless' version '5.7.0'
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://androidx.dev/snapshots/builds/6767375/artifacts/ui/repository' }
maven { url = "https://dl.bintray.com/kotlin/kotlin-eap" }
maven { url = uri("https://dl.bintray.com/korlibs/korlibs/") }
maven { url "https://dl.bintray.com/kotlin/kotlinx" }
maven { url "https://dl.bintray.com/kotlin/ktor" }
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
}
allprojects {
repositories {
google()
mavenCentral()
// jcenter()
}
apply plugin: 'com.diffplug.spotless'
spotless {
ratchetFrom 'origin/main'
kotlin {
target '**/*.kt'
targetExclude("$buildDir/**/*.kt")
targetExclude('bin/**/*.kt')
targetExclude("**/generated/**/*.kt")
ktlint("0.39.0")
.userData([android: "true", experimental: "true"])
}
}
}
apply from: file('gradle/dependencyGraph.gradle')
wrapper {
distributionType = Wrapper.DistributionType.ALL
}