/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/AndroidManifest.xml:41: Warning: Redundant label can be removed [RedundantLabel]
android:label="@string/app_name"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "RedundantLabel":
When an activity does not have a label attribute, it will use the one from
the application tag. Since the application has already specified the same
label, the label on this activity can be omitted.
/home/jenkins/.jenkins/workspace/UstadApiConsumer/gradle/libs.versions.toml:2: Warning: A newer version of androidx.core:core-ktx than 1.12.0 is available: 1.13.1 [GradleDependency]
androidx-core = "1.12.0"
~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/gradle/libs.versions.toml:2: Warning: A newer version of androidx.core:core-ktx than 1.12.0 is available: 1.13.1 [GradleDependency]
androidx-core = "1.12.0"
~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/gradle/libs.versions.toml:2: Warning: A newer version of androidx.core:core-ktx than 1.12.0 is available: 1.13.1 [GradleDependency]
androidx-core = "1.12.0"
~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/gradle/libs.versions.toml:4: Warning: A newer version of androidx.activity:activity-compose than 1.8.2 is available: 1.9.0 [GradleDependency]
androidx-activity = "1.8.2"
~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/gradle/libs.versions.toml:4: Warning: A newer version of androidx.activity:activity-compose than 1.8.2 is available: 1.9.0 [GradleDependency]
androidx-activity = "1.8.2"
~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/gradle/libs.versions.toml:4: Warning: A newer version of androidx.activity:activity-compose than 1.8.2 is available: 1.9.0 [GradleDependency]
androidx-activity = "1.8.2"
~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/gradle/libs.versions.toml:13: Warning: A newer version of org.jetbrains.kotlinx:kotlinx-serialization-json than 1.6.1 is available: 1.6.3 [GradleDependency]
kotlinx-serialization = "1.6.1"
~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/gradle/libs.versions.toml:13: Warning: A newer version of org.jetbrains.kotlinx:kotlinx-serialization-json than 1.6.1 is available: 1.6.3 [GradleDependency]
kotlinx-serialization = "1.6.1"
~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/gradle/libs.versions.toml:13: Warning: A newer version of org.jetbrains.kotlinx:kotlinx-serialization-json than 1.6.1 is available: 1.6.3 [GradleDependency]
kotlinx-serialization = "1.6.1"
~~~~~~~
Explanation for issues of type "GradleDependency":
This detector looks for usages of libraries where the version you are using
is not the current stable release. Using older versions is fine, and there
are cases where you deliberately want to stick with an older version.
However, you may simply not be aware that a more recent version is
available, and that is what this lint check helps find.
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/java/com/ustadmobile/ustadapiconsumer/ui/screens/AccountDetailScreen.kt:9: Warning: Using a material import while also using the material3 library [UsingMaterialAndMaterial3Libraries from androidx.compose.material3]
import androidx.compose.material.Button
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/java/com/ustadmobile/ustadapiconsumer/ui/screens/AccountDetailScreen.kt:10: Warning: Using a material import while also using the material3 library [UsingMaterialAndMaterial3Libraries from androidx.compose.material3]
import androidx.compose.material.Text
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/java/com/ustadmobile/ustadapiconsumer/ui/theme/Shape.kt:4: Warning: Using a material import while also using the material3 library [UsingMaterialAndMaterial3Libraries from androidx.compose.material3]
import androidx.compose.material.Shapes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/java/com/ustadmobile/ustadapiconsumer/ui/theme/Theme.kt:4: Warning: Using a material import while also using the material3 library [UsingMaterialAndMaterial3Libraries from androidx.compose.material3]
import androidx.compose.material.MaterialTheme
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/java/com/ustadmobile/ustadapiconsumer/ui/theme/Theme.kt:5: Warning: Using a material import while also using the material3 library [UsingMaterialAndMaterial3Libraries from androidx.compose.material3]
import androidx.compose.material.darkColors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/java/com/ustadmobile/ustadapiconsumer/ui/theme/Theme.kt:6: Warning: Using a material import while also using the material3 library [UsingMaterialAndMaterial3Libraries from androidx.compose.material3]
import androidx.compose.material.lightColors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/java/com/ustadmobile/ustadapiconsumer/ui/theme/Type.kt:3: Warning: Using a material import while also using the material3 library [UsingMaterialAndMaterial3Libraries from androidx.compose.material3]
import androidx.compose.material.Typography
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "UsingMaterialAndMaterial3Libraries":
material and material3 are separate design system libraries that are
incompatible with each other, as they have their own distinct theming
systems. Using components from both libraries concurrently can cause
issues: for example material components will not pick up the correct
content color from a material3 container, and vice versa.
Vendor: Jetpack Compose
Identifier: androidx.compose.material3
Feedback: https://issuetracker.google.com/issues/new?component=612128
/home/jenkins/.gradle/caches/modules-2/files-2.1/com.athaydes.rawhttp/rawhttp-core/2.6.0/8bbc07fc8faa95d25f8d4d686336b37f674a84b1/rawhttp-core-2.6.0.jar: Warning: checkClientTrusted is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers [TrustAllX509TrustManager]
/home/jenkins/.gradle/caches/modules-2/files-2.1/com.athaydes.rawhttp/rawhttp-core/2.6.0/8bbc07fc8faa95d25f8d4d686336b37f674a84b1/rawhttp-core-2.6.0.jar: Warning: checkServerTrusted is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers [TrustAllX509TrustManager]
Explanation for issues of type "TrustAllX509TrustManager":
This check looks for X509TrustManager implementations whose
checkServerTrusted or checkClientTrusted methods do nothing (thus trusting
any certificate chain) which could result in insecure network traffic
caused by trusting arbitrary TLS/SSL certificates presented by peers.
https://goo.gle/TrustAllX509TrustManager
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/res/values/colors.xml:3: Warning: The resource R.color.purple_200 appears to be unused [UnusedResources]
#FFBB86FC
~~~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/res/values/colors.xml:4: Warning: The resource R.color.purple_500 appears to be unused [UnusedResources]
#FF6200EE
~~~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/res/values/colors.xml:6: Warning: The resource R.color.teal_200 appears to be unused [UnusedResources]
#FF03DAC5
~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/res/values/colors.xml:7: Warning: The resource R.color.teal_700 appears to be unused [UnusedResources]
#FF018786
~~~~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/res/values/colors.xml:8: Warning: The resource R.color.black appears to be unused [UnusedResources]
#FF000000
~~~~~~~~~~~~
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/res/values/colors.xml:9: Warning: The resource R.color.white appears to be unused [UnusedResources]
#FFFFFFFF
~~~~~~~~~~~~
Explanation for issues of type "UnusedResources":
Unused resources make applications larger and slow down builds.
The unused resource check can ignore tests. If you want to include
resources that are only referenced from tests, consider packaging them in a
test source set instead.
You can include test sources in the unused resource check by setting the
system property lint.unused-resources.include-tests =true, and to exclude
them (usually for performance reasons), use
lint.unused-resources.exclude-tests =true.
,
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:2: Warning: The application adaptive icon is missing a monochrome tag [MonochromeLauncherIcon]
^
/home/jenkins/.jenkins/workspace/UstadApiConsumer/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:2: Warning: The application adaptive roundIcon is missing a monochrome tag [MonochromeLauncherIcon]
^
Explanation for issues of type "MonochromeLauncherIcon":
If android:roundIcon and android:icon are both in your manifest, you must
either remove the reference to android:roundIcon if it is not needed; or,
supply the monochrome icon in the drawable defined by the android:roundIcon
and android:icon attribute.
For example, if android:roundIcon and android:icon are both in the
manifest, a launcher might choose to use android:roundIcon over
android:icon to display the adaptive app icon. Therefore, your themed
application iconwill not show if your monochrome attribute is not also
specified in android:roundIcon.
0 errors, 27 warnings