Skip to content

Commit

Permalink
bump Gradle dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed May 6, 2024
1 parent c82260b commit 6b38184
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
group "vn.hunghd.flutterdownloader"
version "1.0-SNAPSHOT"

buildscript {
ext.kotlin_version = "1.9.0"
repositories {
google()
mavenCentral()
Expand All @@ -8,50 +10,47 @@ buildscript {

dependencies {
classpath "com.android.tools.build:gradle:7.4.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0"
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.5.0"
}
}

repositories {
google()
mavenCentral()
}

apply plugin: "com.android.library"
apply plugin: "kotlin-android"
apply plugin: "org.jlleitschuh.gradle.ktlint"

group "vn.hunghd.flutterdownloader"
version "1.0-SNAPSHOT"

rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}

android {
namespace "vn.hunghd.flutterdownloader"
compileSdk 34
namespace = "vn.hunghd.flutterdownloader"
compileSdk = 34

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = "1.8"
jvmTarget = JavaVersion.VERSION_1_8
// allWarningsAsErrors = true // TODO(bartekpacia): Re-enable
}

sourceSets {
main.java.srcDirs += "src/main/kotlin"
test.java.srcDirs += "src/test/kotlin"
}

defaultConfig {
minSdk 19
targetSdk 33
minSdk = 21
targetSdk = 34
}
}

dependencies {
implementation "androidx.work:work-runtime:2.7.1"
implementation "androidx.annotation:annotation:1.5.0"
implementation "androidx.core:core-ktx:1.9.0"
compileOnly("androidx.annotation:annotation:1.7.1")
implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.work:work-runtime:2.9.0")
}

0 comments on commit 6b38184

Please sign in to comment.