File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11group ' dev.fluttercommunity.workmanager'
22version ' 1.0-SNAPSHOT'
33
4- rootProject. allprojects {
5- repositories {
6- mavenCentral()
7- google()
8- }
9- }
10-
114apply plugin : ' com.android.library'
125apply plugin : ' kotlin-android'
136
147android {
15- // Conditional for compatibility with AGP <4.2.
16- if (project. android. hasProperty(" namespace" )) {
17- namespace ' dev.fluttercommunity.workmanager'
18- }
8+ namespace ' dev.fluttercommunity.workmanager' // ✅ Zorunlu AGP 8+ için
9+
10+ compileSdk 34
1911
20- sourceSets {
21- main. java. srcDirs + = ' src/main/kotlin'
22- }
2312 defaultConfig {
24- compileSdk 34
25- minSdkVersion 19
13+ minSdk 19
2614 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
15+ consumerProguardFiles " consumer-rules.pro"
2716 }
28- lintOptions {
29- disable ' InvalidPackage'
17+
18+ sourceSets {
19+ main. java. srcDirs + = ' src/main/kotlin'
3020 }
21+
3122 compileOptions {
3223 sourceCompatibility JavaVersion . VERSION_1_8
3324 targetCompatibility JavaVersion . VERSION_1_8
3425 }
3526
3627 kotlinOptions {
37- tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). configureEach {
38- kotlinOptions. jvmTarget = " 1.8"
39- }
28+ jvmTarget = ' 1.8'
4029 }
4130
31+ lint {
32+ disable ' InvalidPackage'
33+ checkReleaseBuilds false
34+ }
4235}
4336
4437dependencies {
4538 def work_version = " 2.9.0"
4639 implementation " androidx.work:work-runtime:$work_version "
4740 implementation " androidx.concurrent:concurrent-futures:1.1.0"
48-
4941 testImplementation ' junit:junit:4.13.2'
5042}
You can’t perform that action at this time.
0 commit comments