File tree Expand file tree Collapse file tree 3 files changed +16
-15
lines changed
dynamic-utils/src/main/java/com/pranavpandey/android/dynamic/util Expand file tree Collapse file tree 3 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ android:
10
10
components :
11
11
- tools
12
12
- platform-tools
13
- - build-tools-34 .0.0
14
- - android-34
13
+ - build-tools-35 .0.0
14
+ - android-35
15
15
- extra-android-support
16
16
- extra-android-m2repository
17
17
- extra-google-m2repository
Original file line number Diff line number Diff line change 16
16
17
17
buildscript {
18
18
ext. versions = [
19
- ' compileSdk' : 34 ,
20
- ' minSdk' : 14 ,
21
- ' targetSdk' : 34 ,
22
- ' buildTools' : ' 34 .0.0' ,
19
+ ' compileSdk' : 35 ,
20
+ ' minSdk' : 19 ,
21
+ ' targetSdk' : 35 ,
22
+ ' buildTools' : ' 35 .0.0' ,
23
23
' androidx' : ' 1.13.1' ,
24
- ' kotlin' : ' 1.9.21 '
24
+ ' kotlin' : ' 1.9.24 '
25
25
]
26
26
27
27
repositories {
Original file line number Diff line number Diff line change @@ -516,23 +516,24 @@ public static boolean is34() {
516
516
}
517
517
518
518
/**
519
- * Detects if the current API version is U or above.
519
+ * Detects if the current API version is 35 or above.
520
520
*
521
521
* @param equals {@code true} to check for equality.
522
522
* <p>{@code false} to match greater than or equal.
523
523
*
524
- * @return {@code true} if the current API version is U or above.
524
+ * @return {@code true} if the current API version is 35 or above.
525
525
*/
526
- public static boolean isU (boolean equals ) {
527
- return is34 () || (is33 (equals ) && isPreview ());
526
+ public static boolean is35 (boolean equals ) {
527
+ return equals ? Build .VERSION .SDK_INT == Build .VERSION_CODES .VANILLA_ICE_CREAM
528
+ : Build .VERSION .SDK_INT >= Build .VERSION_CODES .VANILLA_ICE_CREAM ;
528
529
}
529
530
530
531
/**
531
- * Detects if the current API version is U or above.
532
+ * Detects if the current API version is 35 or above.
532
533
*
533
- * @return {@code true} if the current API version is U or above.
534
+ * @return {@code true} if the current API version is 35 or above.
534
535
*/
535
- public static boolean isU () {
536
- return isU (false );
536
+ public static boolean is35 () {
537
+ return is35 (false );
537
538
}
538
539
}
You can’t perform that action at this time.
0 commit comments