forked from tasomaniac/OpenLinkWith
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (59 loc) · 2.09 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
buildscript {
ext.ci = 'true' == System.getenv('CI')
ext.isPlay = project.hasProperty('play')
ext.configFile = { fileName ->
rootProject.file("gradle/$fileName")
}
def versionMajor = 2
def versionMinor = 10
def versionBuild = 0
ext.playPublishTrack = 'internal'
ext.versions = [
compileSdk : 31,
minSdk : 22,
versionCode: versionMajor * 10000 + versionMinor * 100 + versionBuild,
versionName: "${versionMajor}.${versionMinor}",
dagger : '2.40.5',
lifecycle : '2.4.0',
kotlin : '1.4.32',
ktlint : '0.39.0',
okHttp : '4.8.0',
room : '2.4.0',
]
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.40.0'
classpath 'com.novoda:gradle-build-properties-plugin:0.4.1'
classpath 'io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.14.1'
classpath 'org.jlleitschuh.gradle:ktlint-gradle:9.4.1'
classpath 'com.gradleup:static-analysis-plugin:1.3'
classpath 'com.gradleup:auto-manifest-plugin:1.0.4'
if (isPlay) {
classpath 'com.google.gms:google-services:4.3.10'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
classpath 'com.github.triplet.gradle:play-publisher:3.7.0-agp4.2'
}
}
}
apply plugin: 'com.gradleup.auto.manifest'
autoManifest {
packageName = 'com.tasomaniac.openwith'
replaceDashesWithDot = true
}
allprojects {
repositories {
google()
mavenCentral()
}
if (project.name != 'test-support' && project.name != 'base-translations') {
apply from: configFile('static-analysis.gradle')
}
}
apply from: configFile('configure-not-wanted-repositories.gradle')
apply from: configFile('configure-dependency-updates.gradle')