Skip to content

Commit

Permalink
added config to update verify plugin to be more efficient
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalk007 committed Sep 8, 2024
1 parent 258a4ba commit b73f4bd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 133 deletions.
18 changes: 18 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,24 @@ patchPluginXml {
untilBuild = ""
}

listProductsReleases {
doLast {
// At the end of the build, write the first and last versions of the products to the output file.
// This will be used by the runPluginVerifier task to validate the compatibility of the plugin against the
// first and last versions of IntelliJ IDEA.
def outputFileObj = outputFile.get().asFile
if (outputFileObj.exists()) {
def lines = outputFileObj.readLines()
if (!lines.isEmpty()) {
def firstVersion = lines.first()
def lastVersion = lines.last()
outputFileObj.write("$firstVersion\n$lastVersion")
}
}
}
}


repositories {
mavenLocal()
mavenCentral()
Expand Down
133 changes: 0 additions & 133 deletions src/test/resources/sourceCode/not_applic_output.sarif

This file was deleted.

0 comments on commit b73f4bd

Please sign in to comment.