Files
simplefileupload-android/build.gradle

34 lines
981 B
Groovy
Raw Normal View History

2024-10-07 22:47:30 -04:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.9.22' // Updated for Compose Compiler 1.5.8 compatibility
2024-10-07 22:47:30 -04:00
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.3.2' // More stable version
2025-04-14 22:37:20 -04:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2024-10-07 22:47:30 -04:00
}
}
allprojects {
repositories {
google()
mavenCentral()
}
2025-04-14 22:37:20 -04:00
// Apply to all projects
configurations.all {
resolutionStrategy {
// Force a specific version of Kotlin stdlib
force "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
force "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
force "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
}
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
2024-10-07 22:47:30 -04:00
}