-
Notifications
You must be signed in to change notification settings - Fork 55
/
build.gradle
68 lines (62 loc) · 2.17 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'buildsystem/secret.gradle'
apply from: 'dependencies.gradle'
buildscript {
// Gradle will not find vars defined in an external file when referring to them
// in the buildscript block, unless you link it from the buildscript block, too.
apply from: 'dependencies.gradle'
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath gradlePlugins.android
classpath gradlePlugins.googleServices
classpath gradlePlugins.crashlyticsPlugin
classpath gradlePlugins.kotlin
classpath gradlePlugins.dexcount
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven {
url "https://maven.pkg.github.com/eadm/AndroidKit"
credentials {
username = System.getenv("GITHUB_USER") ?: project.properties["GITHUB_USER"]
password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') ?: project.properties['GITHUB_PERSONAL_ACCESS_TOKEN']
}
}
maven {
url "https://maven.pkg.github.com/eadm/StoriesKit"
credentials {
username = System.getenv("GITHUB_USER") ?: project.properties["GITHUB_USER"]
password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') ?: project.properties['GITHUB_PERSONAL_ACCESS_TOKEN']
}
}
maven {
url = "https://maven.pkg.github.com/eadm/ktlint-rules"
credentials {
username = System.getenv("GITHUB_USER") ?: project.properties["GITHUB_USER"]
password = System.getenv("GITHUB_PERSONAL_ACCESS_TOKEN") ?: project.properties["GITHUB_PERSONAL_ACCESS_TOKEN"]
}
}
flatDir {
dirs 'libs/aars'
}
}
configurations.all {
resolutionStrategy {
force libraries.jdbc
}
}
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
task clean(type: Delete) {
delete rootProject.buildDir
}