aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
blob: 93d8a9b719acc8cac70ce9c6966b3d9cc6e7561d (plain)
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
buildscript {
    ext {
        kotlin_version = '1.7.20' // observe compatibility with compose compiler
        ktor_version = '2.1.3'
        nav_version = '2.5.3'
        material_version = '1.7.0'
        lifecycle_version = '2.5.1'
        constraintlayout_version = '2.1.4'
        compose_version = '1.3.2'
        junit_version = "4.13.2"
        // check https://android-rebuilds.beuc.net/ for availability of free build tools
        build_tools_version = "33.0.1"
        // should debug build types be minified with D8 as well? good for catching issues early
        minify_debug = true
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.3.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
        classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}