mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-01 03:15:10 +01:00
bac4ec2977
* Update Kotlin to 1.7.21 * Migrate Hilt to Gradle Plugin DSL and use updated package name * Update dependencies * Misc cleanup of build scripts
37 lines
792 B
Groovy
37 lines
792 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext {
|
|
kotlin_version = '1.7.21'
|
|
hilt_version = '2.44.2'
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.2.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'com.google.dagger.hilt.android' version "$hilt_version" apply false
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
tasks.register('clean') {
|
|
delete rootProject.buildDir
|
|
}
|