-
Notifications
You must be signed in to change notification settings - Fork 34
/
build.gradle
65 lines (58 loc) · 2.33 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
import co.joebirch.minimise.buildsrc.Deps
import co.joebirch.minimise.buildsrc.Versions
buildscript {
ext.kotlin_version = Deps.Kotlin.version
ext.buildConfig = [
'compileSdk': 29,
'minSdk' : 21,
'targetSdk' : 29,
]
repositories {
gradlePluginPortal()
google()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
maven { url 'https://kotlin.bintray.com/kotlinx' }
maven { url 'https://dl.bintray.com/kotlin/kotlinx/' }
maven { url 'https://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
maven { url 'https://dl.bintray.com/joebirch/joebirch' }
maven { url 'https://dl.bintray.com/florent37/maven' }
jcenter()
}
dependencies {
classpath Deps.androidGradlePlugin
classpath Deps.kotlinGradlePlugin
classpath Deps.Kotlin.serialization
classpath 'com.google.gms:google-services:4.3.5'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath Deps.Apollo.plugin
classpath Deps.Google.Hilt.gradlePlugin
classpath 'com.codingfeline.buildkonfig:buildkonfig-gradle-plugin:0.7.0'
}
}
allprojects {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += ["-Xallow-jvm-ir-dependencies", "-Xskip-prerelease-check"]
}
}
repositories {
google()
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://dl.bintray.com/kotlin/kotlinx.html' }
maven { url 'https://dl.bintray.com/kotlin/ktor' }
maven { url 'https://dl.bintray.com/kotlin/kotlinx/' }
maven { url 'https://kotlin.bintray.com/kotlinx' }
maven { url 'https://kotlin.bintray.com/kotlin-dev' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://ci.android.com/builds/submitted/6116482/androidx_snapshot/latest/repository/' }
maven { url 'https://dl.bintray.com/joebirch/joebirch' }
maven { url 'https://dl.bintray.com/florent37/maven' }
mavenLocal()
}
}