Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/central-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.6'

- name: Set Up Ballerina
uses: ballerina-platform/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/full_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.6'

- name: Set Up Ballerina
uses: ballerina-platform/[email protected]
Expand Down Expand Up @@ -57,11 +57,11 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.6'

- name: Set Up Ballerina
uses: ballerina-platform/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.6'

- name: Set Up Ballerina
uses: ballerina-platform/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This repository consists of

## Prerequisites

1. OpenJDK 17 ([Adopt OpenJDK](https://adoptium.net/temurin/releases/?version=17) or any other OpenJDK distribution)
1. OpenJDK 21 ([Adopt OpenJDK](https://adoptium.net/temurin/releases/?version=21) or any other OpenJDK distribution)

2. [Ballerina](https://ballerina.io/)

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ group=io.ballerina.scan
version=0.5.1-SNAPSHOT

# Plugin versions
spotbugsPluginVersion=5.0.14
spotbugsPluginVersion=6.1.5
downloadPluginVersion=5.4.0
releasePluginVersion=2.8.0
enterprisePluginVersion=3.18.1

# Dependency versions
picoCLIVersion=4.7.5
gsonVersion=2.10.1
ballerinaLangVersion=2201.10.2
ballerinaLangVersion=2201.11.0
puppycrawlCheckstyleVersion=10.12.1
apacheCommonsLang3Version=3.0
commonsIoVersion=2.15.1
Expand Down
10 changes: 6 additions & 4 deletions scan-command/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* under the License.
*/

import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import org.apache.tools.ant.taskdefs.condition.Os

import java.nio.file.Paths
Expand Down Expand Up @@ -118,8 +120,8 @@ checkstyleTest.dependsOn(downloadCheckstyleRuleFiles)

// Setting up spotbugs
spotbugsMain {
effort "max"
reportLevel "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand All @@ -135,8 +137,8 @@ spotbugsMain {
}

spotbugsTest {
effort = "max"
reportLevel = "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand Down
2 changes: 1 addition & 1 deletion scan-command/tool-scan/BalTool.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
id = "scan"

[[dependency]]
path = "../build/libs/scan-command-0.5.0.jar"
path = "../build/libs/scan-command-0.5.1-SNAPSHOT.jar"
4 changes: 2 additions & 2 deletions scan-command/tool-scan/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
org = "ballerina"
name = "tool_scan"
version = "0.5.0"
distribution = "2201.10.2"
version = "0.5.1-SNAPSHOT"
distribution = "2201.11.0"
authors = ["Ballerina"]
keywords = ["scan", "static code analysis"]
license = ["Apache-2.0"]
Expand Down
4 changes: 2 additions & 2 deletions scan-command/tool-scan/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.10.2"
distribution-version = "2201.11.0"

[[package]]
org = "ballerina"
name = "tool_scan"
version = "0.5.0"
version = "0.5.1-SNAPSHOT"
modules = [
{org = "ballerina", packageName = "tool_scan", moduleName = "tool_scan"}
]
Expand Down
1 change: 0 additions & 1 deletion scan-command/tool-scan/Module.md

This file was deleted.

File renamed without changes.
10 changes: 6 additions & 4 deletions test-compiler-plugins/ballerina-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* under the License.
*/

import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import org.apache.tools.ant.taskdefs.condition.Os

plugins {
Expand Down Expand Up @@ -100,8 +102,8 @@ checkstyleTest.dependsOn(downloadCheckstyleRuleFiles)

// Setting up spotbugs
spotbugsMain {
effort "max"
reportLevel "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand All @@ -117,8 +119,8 @@ spotbugsMain {
}

spotbugsTest {
effort = "max"
reportLevel = "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand Down
10 changes: 6 additions & 4 deletions test-compiler-plugins/ballerinax-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* under the License.
*/

import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import org.apache.tools.ant.taskdefs.condition.Os

plugins {
Expand Down Expand Up @@ -100,8 +102,8 @@ checkstyleTest.dependsOn(downloadCheckstyleRuleFiles)

// Setting up spotbugs
spotbugsMain {
effort "max"
reportLevel "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand All @@ -117,8 +119,8 @@ spotbugsMain {
}

spotbugsTest {
effort = "max"
reportLevel = "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand Down
10 changes: 6 additions & 4 deletions test-compiler-plugins/exampleOrg-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* under the License.
*/

import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import org.apache.tools.ant.taskdefs.condition.Os

plugins {
Expand Down Expand Up @@ -100,8 +102,8 @@ checkstyleTest.dependsOn(downloadCheckstyleRuleFiles)

// Setting up spotbugs
spotbugsMain {
effort "max"
reportLevel "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand All @@ -117,8 +119,8 @@ spotbugsMain {
}

spotbugsTest {
effort = "max"
reportLevel = "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand Down
10 changes: 6 additions & 4 deletions test-compiler-plugins/invalid-ruleformat-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* under the License.
*/

import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import org.apache.tools.ant.taskdefs.condition.Os

plugins {
Expand Down Expand Up @@ -100,8 +102,8 @@ checkstyleTest.dependsOn(downloadCheckstyleRuleFiles)

// Setting up spotbugs
spotbugsMain {
effort "max"
reportLevel "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand All @@ -117,8 +119,8 @@ spotbugsMain {
}

spotbugsTest {
effort = "max"
reportLevel = "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand Down
10 changes: 6 additions & 4 deletions test-compiler-plugins/invalid-rulekind-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* under the License.
*/

import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import org.apache.tools.ant.taskdefs.condition.Os

plugins {
Expand Down Expand Up @@ -100,8 +102,8 @@ checkstyleTest.dependsOn(downloadCheckstyleRuleFiles)

// Setting up spotbugs
spotbugsMain {
effort "max"
reportLevel "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand All @@ -117,8 +119,8 @@ spotbugsMain {
}

spotbugsTest {
effort = "max"
reportLevel = "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand Down
10 changes: 6 additions & 4 deletions test-compiler-plugins/invalid-rules-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* under the License.
*/

import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import org.apache.tools.ant.taskdefs.condition.Os

plugins {
Expand Down Expand Up @@ -100,8 +102,8 @@ checkstyleTest.dependsOn(downloadCheckstyleRuleFiles)

// Setting up spotbugs
spotbugsMain {
effort "max"
reportLevel "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand All @@ -117,8 +119,8 @@ spotbugsMain {
}

spotbugsTest {
effort = "max"
reportLevel = "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
* under the License.
*/

import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort

plugins {
id 'java-library'
id 'checkstyle'
Expand Down Expand Up @@ -87,8 +90,8 @@ checkstyleTest.dependsOn(downloadCheckstyleRuleFiles)

// Setting up spotbugs
spotbugsMain {
effort "max"
reportLevel "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand All @@ -104,8 +107,8 @@ spotbugsMain {
}

spotbugsTest {
effort = "max"
reportLevel = "low"
effort = Effort.valueOf("MAX")
reportLevel = Confidence.valueOf("LOW")

reportsDir = file("$project.buildDir/reports/spotbugs")

Expand Down
Loading