// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = '1.4.21' repositories { mavenLocal() google() maven { url "https://plugins.gradle.org/m2/" } maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } maven { url 'https://jitpack.io' } mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jlleitschuh.gradle:ktlint-gradle:9.1.1" def nav_version = '2.4.1' classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version" classpath "de.mannodermaus.gradle.plugins:android-junit5:1.7.1.1" classpath "org.koin:koin-gradle-plugin:2.1.6" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { mavenLocal() google() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } maven { url "https://plugins.gradle.org/m2/" } maven { url 'https://jitpack.io' } mavenCentral() } } ext{ minSDK = 22 targetSDK = 31 compileSdkVersion = 31 supportLibraryVersion = "30.0.2" constraintLayoutVersion = "1.1.3" } task clean(type: Delete) { delete rootProject.buildDir } apply plugin: "org.jlleitschuh.gradle.ktlint-idea" subprojects { apply plugin: "org.jlleitschuh.gradle.ktlint" } apply plugin: 'koin'