Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Add QODANA_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin committed Jul 17, 2023
1 parent 1b3d8de commit 4eae9f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -4,7 +4,7 @@
[![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/org.jetbrains.qodana?color=green&label=Gradle%20Plugin%20Portal&logo=gradle)][gradle-plugin-page]
[![Build](https://github.com/JetBrains/gradle-grammar-kit-plugin/workflows/Build/badge.svg)][gh:build]
[![GitHub Discussions](https://img.shields.io/github/discussions/jetbrains/qodana)][jb:discussions]
[![Twitter Follow](https://img.shields.io/badge/follow-%40QodanaEvolves-1DA1F2?logo=twitter)][jb:twitter]
[![Twitter Follow](https://img.shields.io/badge/follow-%40Qodana-1DA1F2?logo=twitter)][jb:twitter]

Gradle interface to run code inspections from IntelliJ IDEA.

Expand Down Expand Up @@ -218,7 +218,7 @@ Apply Gradle Qodana Plugin with snapshot version in Gradle configuration file an
[gradle-plugin-page]: https://plugins.gradle.org/plugin/org.jetbrains.qodana
[jb:confluence-on-gh]: https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub
[jb:discussions]: https://jb.gg/qodana-discussions
[jb:twitter]: https://twitter.com/QodanaEvolves
[jb:twitter]: https://twitter.com/Qodana
[youtrack]: https://youtrack.jetbrains.com/issues/QD
[youtrack-new-issue]: https://youtrack.jetbrains.com/newIssue?project=QD&c=Platform%20Gradle%20Plugin&c=Tool%20IntelliJ%20(Code%20Inspection)
[youtrack]: https://youtrack.jetbrains.com/issues/QD
Expand Down
3 changes: 3 additions & 0 deletions src/main/kotlin/org/jetbrains/qodana/QodanaPlugin.kt
Expand Up @@ -108,6 +108,9 @@ class QodanaPlugin : Plugin<Project> {
jvmParameters.get().takeIf { it.isNotEmpty() }?.let {
"IDE_PROPERTIES_PROPERTY=${it.joinToString(" ")}"
},
System.getenv("QODANA_TOKEN")?.let {
"QODANA_TOKEN=$it"
}
)
})
arguments.set(project.provider {
Expand Down

0 comments on commit 4eae9f6

Please sign in to comment.