File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616 enableTestCodeCoverage = true
1717
18- compileSdkVersion = 35
18+ compileSdkVersion = 36
1919 targetSdkVersion = 35
2020 minSdkVersion = 24
2121 buildToolsVersion = ' 34.0.0'
2424 supportTestVersion = ' 1.0'
2525
2626 lanternDir = projectDir. parentFile. parentFile
27+ libs = fileTree(dir : ' libs' , include : [' *.jar' ])
2728}
2829
2930allprojects {
@@ -32,6 +33,24 @@ allprojects {
3233 mavenCentral()
3334 maven { url ' https://jitpack.io' }
3435 }
36+
37+ // This code fixes a 'namespace not specified' error upgrading AGP to >= 8.x.x.
38+ subprojects { subproject ->
39+ subproject. tasks. whenTaskAdded {
40+ if (it. name. contains(" kapt" )) {
41+ it. enabled = false
42+ }
43+ }
44+ afterEvaluate { project ->
45+ if (project. hasProperty(' android' )) {
46+ project. android {
47+ if (namespace == null ) {
48+ namespace project. group
49+ }
50+ }
51+ }
52+ }
53+ }
3554}
3655
3756rootProject. buildDir = ' ../build'
You can’t perform that action at this time.
0 commit comments