buildscript {
    ext.kotlin_version = '1.8.22'
    ext.worker_version = '2.8.0'

    repositories {
        mavenCentral()
        google()
    }
    dependencies {

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        classpath "io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
        classpath 'com.android.tools.build:gradle:8.1.4'
        classpath 'com.guardsquare:proguard-gradle:7.4.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22"
        classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.9.10"
    }
}

plugins {
    id 'org.jetbrains.kotlin.jvm' version '1.8.22'
    id 'org.jetbrains.kotlin.android' version '1.8.22' apply false
    id 'maven-publish'
    id 'signing'
    id 'org.jlleitschuh.gradle.ktlint' version '11.5.0'
}

// Top-level build file where you can add configuration options common to all sub-projects/modules.


allprojects {
    repositories {
        mavenCentral()
        google()
    }
    apply plugin: "org.jlleitschuh.gradle.ktlint"
}

clean.doLast {
    delete rootProject.buildDir
}

repositories {
    mavenCentral()
}
dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
kotlin {
    jvmToolchain(11)
}
