Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 55
ADFA-1863 Add SonarQube to the debug build#586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -42,15 +42,16 @@ plugins { | ||||||||||||||||||||||||||||||||||||
| alias(libs.plugins.rikka.autoresconfig) apply false | ||||||||||||||||||||||||||||||||||||
| alias(libs.plugins.rikka.materialthemebuilder) apply false | ||||||||||||||||||||||||||||||||||||
| alias(libs.plugins.rikka.refine) apply false | ||||||||||||||||||||||||||||||||||||
| alias(libs.plugins.sonarqube) | ||||||||||||||||||||||||||||||||||||
| alias(libs.plugins.spotless) | ||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||
| buildscript { | ||||||||||||||||||||||||||||||||||||
| dependencies { | ||||||||||||||||||||||||||||||||||||
| classpath(libs.kotlin.gradle.plugin) | ||||||||||||||||||||||||||||||||||||
| classpath(libs.nav.safe.args.gradle.plugin) | ||||||||||||||||||||||||||||||||||||
| classpath(libs.kotlin.serialization.plugin) | ||||||||||||||||||||||||||||||||||||
| classpath(libs.nav.safe.args.gradle.plugin) | ||||||||||||||||||||||||||||||||||||
| classpath(libs.kotlin.serialization.plugin) | ||||||||||||||||||||||||||||||||||||
| classpath(libs.nav.safe.args.gradle.plugin) | ||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||
Comment on lines
49
to
56
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Duplicate classpath dependency.
🔎 Proposed fix buildscript {
dependencies {
classpath(libs.kotlin.gradle.plugin)
classpath(libs.nav.safe.args.gradle.plugin)
classpath(libs.kotlin.serialization.plugin)
- classpath(libs.nav.safe.args.gradle.plugin)
}
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents | ||||||||||||||||||||||||||||||||||||
| @@ -191,6 +192,7 @@ spotless { | ||||||||||||||||||||||||||||||||||||
| ".githooks/**/*", | ||||||||||||||||||||||||||||||||||||
| "scripts/**/*", | ||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||
| targetExclude("scripts/debug-keystore/adfa-keystore.jks") | ||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||
| @@ -230,3 +232,11 @@ tasks.named<Delete>("clean") { | ||||||||||||||||||||||||||||||||||||
| delete(rootProject.layout.buildDirectory) | ||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||
| sonar { | ||||||||||||||||||||||||||||||||||||
| properties { | ||||||||||||||||||||||||||||||||||||
| property("sonar.host.url", "https://sonarcloud.io") | ||||||||||||||||||||||||||||||||||||
| property("sonar.projectKey", "appdevforall_CodeOnTheGo") | ||||||||||||||||||||||||||||||||||||
| property("sonar.organization", "app-dev-for-all") | ||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||
jomen-adfa marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -58,6 +58,7 @@ libsu-core = "6.0.0" | ||
| ## put it in app/src/main/jniLibs | ||
| brotli4j = "1.18.0" | ||
| spotless = "7.2.1" | ||
| sonarqube = "7.0.0.6105" | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: Yes — org.sonarqube version 7.0.0.6105 is a released SonarScanner for Gradle plugin. Key facts:
Sources: 🌐 Web query:
💡 Result: The latest stable SonarQube Gradle plugin is 7.2.2.6593 (released Dec 18, 2025). [1][2] Usage (plugins DSL): Sources: Gradle Plugin Portal and Maven listing. [1][2] Consider upgrading SonarQube plugin to the latest stable version. While 🤖 Prompt for AI Agents | ||
| fragmentKtx = "1.8.8" | ||
| [libraries] | ||
| @@ -273,6 +274,7 @@ kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } | ||
| maven-publish = { id = "com.vanniktech.maven.publish.base", version.ref = "maven-publish-plugin" } | ||
| gradle-publish = { id = "com.gradle.plugin-publish", version = "1.2.1" } | ||
| spotless = { id = "com.diffplug.spotless", version.ref = "spotless" } | ||
| sonarqube = { id = "org.sonarqube", version.ref = "sonarqube" } | ||
| sentry = { id = "io.sentry.android.gradle", version.ref = "sentry" } | ||
| google-services = { id = "com.google.gms.google-services", version.ref = "google-services" } | ||
| rikka-autoresconfig = { id = "dev.rikka.tools.autoresconfig", version = "1.2.2" } | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gradle cache key may miss Kotlin DSL files.
The hash pattern
**/*.gradlewon't match.gradle.ktsfiles used in this project, potentially causing unnecessary cache misses.🔎 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents