Skip to content

Commit 6b38184

Browse files
committed
bump Gradle dependencies
1 parent c82260b commit 6b38184

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

android/build.gradle

+19-20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
group "vn.hunghd.flutterdownloader"
2+
version "1.0-SNAPSHOT"
3+
14
buildscript {
2-
ext.kotlin_version = "1.9.0"
35
repositories {
46
google()
57
mavenCentral()
@@ -8,50 +10,47 @@ buildscript {
810

911
dependencies {
1012
classpath "com.android.tools.build:gradle:7.4.2"
11-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
13+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0"
1214
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.5.0"
1315
}
1416
}
1517

18+
repositories {
19+
google()
20+
mavenCentral()
21+
}
22+
1623
apply plugin: "com.android.library"
1724
apply plugin: "kotlin-android"
1825
apply plugin: "org.jlleitschuh.gradle.ktlint"
1926

20-
group "vn.hunghd.flutterdownloader"
21-
version "1.0-SNAPSHOT"
22-
23-
rootProject.allprojects {
24-
repositories {
25-
google()
26-
mavenCentral()
27-
}
28-
}
29-
3027
android {
31-
namespace "vn.hunghd.flutterdownloader"
32-
compileSdk 34
28+
namespace = "vn.hunghd.flutterdownloader"
29+
compileSdk = 34
3330

3431
compileOptions {
3532
sourceCompatibility JavaVersion.VERSION_1_8
3633
targetCompatibility JavaVersion.VERSION_1_8
3734
}
3835

3936
kotlinOptions {
40-
jvmTarget = "1.8"
37+
jvmTarget = JavaVersion.VERSION_1_8
38+
// allWarningsAsErrors = true // TODO(bartekpacia): Re-enable
4139
}
4240

4341
sourceSets {
4442
main.java.srcDirs += "src/main/kotlin"
43+
test.java.srcDirs += "src/test/kotlin"
4544
}
4645

4746
defaultConfig {
48-
minSdk 19
49-
targetSdk 33
47+
minSdk = 21
48+
targetSdk = 34
5049
}
5150
}
5251

5352
dependencies {
54-
implementation "androidx.work:work-runtime:2.7.1"
55-
implementation "androidx.annotation:annotation:1.5.0"
56-
implementation "androidx.core:core-ktx:1.9.0"
53+
compileOnly("androidx.annotation:annotation:1.7.1")
54+
implementation("androidx.core:core-ktx:1.13.1")
55+
implementation("androidx.work:work-runtime:2.9.0")
5756
}

0 commit comments

Comments
 (0)