2019-06-29 02:35:14 +02:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2021-02-26 12:41:57 +01:00
|
|
|
ext {
|
2023-01-24 19:08:27 +01:00
|
|
|
kotlin_version = '1.7.21'
|
|
|
|
hilt_version = '2.44.2'
|
2021-02-26 12:41:57 +01:00
|
|
|
}
|
2021-01-31 22:11:26 +01:00
|
|
|
|
2019-06-29 02:35:14 +02:00
|
|
|
repositories {
|
|
|
|
google()
|
2021-01-31 22:11:26 +01:00
|
|
|
mavenCentral()
|
2022-08-04 01:25:29 +02:00
|
|
|
maven { url 'https://www.jitpack.io' }
|
2019-06-29 02:35:14 +02:00
|
|
|
}
|
2022-08-17 12:28:31 +02:00
|
|
|
|
2019-06-29 02:35:14 +02:00
|
|
|
dependencies {
|
2022-08-17 12:28:31 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:7.2.2'
|
2019-12-02 14:39:08 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2019-06-29 15:35:24 +02:00
|
|
|
|
2019-06-29 02:35:14 +02:00
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-24 19:08:27 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.google.dagger.hilt.android' version "$hilt_version" apply false
|
|
|
|
}
|
|
|
|
|
2019-06-29 02:35:14 +02:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2021-02-26 12:41:57 +01:00
|
|
|
mavenCentral()
|
2022-08-04 01:25:29 +02:00
|
|
|
maven { url 'https://www.jitpack.io' }
|
2019-06-29 02:35:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-24 19:08:27 +01:00
|
|
|
tasks.register('clean') {
|
2019-06-29 02:35:14 +02:00
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|