forked from code4romania/teacher-workout-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
30 lines (27 loc) · 936 Bytes
/
build.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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins.apply(BuildPlugins.UPDATE_DEPENDENCIES)
allprojects {
repositories {
google()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
plugins.apply(BuildPlugins.DETEKT)
plugins.apply(BuildPlugins.KTLINT)
plugins.apply(BuildPlugins.SPOTLESS)
}
buildscript {
val kotlinVersion by extra("1.5.31")
val androidGradleVersion by extra("7.0.3")
repositories {
google()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath ("com.android.tools.build:gradle:$androidGradleVersion")
classpath ("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle.kts.kts files
}
}