Skip to content
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

Change the tool version #41

Merged
merged 1 commit into from
Jun 28, 2024
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
2 changes: 1 addition & 1 deletion ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
distribution = "2201.8.6"
org = "ballerinax"
name = "mi"
version = "0.1.0"
version = "0.0.1"
distribution = "2201.8.6"

[build-options]
Expand Down
2 changes: 1 addition & 1 deletion ballerina/CompilerPlugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class = "io.ballerina.stdlib.mi.plugin.MICompilerPlugin"

[[dependency]]
path = "../compiler-plugin/build/libs/mi-compiler-plugin-1.0-SNAPSHOT.jar"
path = "../compiler-plugin/build/libs/mi-compiler-plugin-0.0.1-SNAPSHOT.jar"

[[dependency]]
path = "build/antlr4-runtime-4.5.1-1.jar"
Expand Down
2 changes: 1 addition & 1 deletion ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ distribution-version = "2201.9.0"
[[package]]
org = "ballerinax"
name = "mi"
version = "0.1.0"
version = "0.0.1"
modules = [
{org = "ballerinax", packageName = "mi", moduleName = "mi"}
]
Expand Down
4 changes: 2 additions & 2 deletions ballerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ plugins {
id "de.undercouch.download" version "5.4.0"
}

group = 'org.example'
version = '1.0-SNAPSHOT'
group = project.group
version = project.version

repositories {
mavenCentral()
Expand Down
4 changes: 2 additions & 2 deletions compiler-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ plugins {
id 'java'
}

group = 'org.example'
version = '1.0-SNAPSHOT'
group = project.group
version = project.version

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
org.gradle.caching=true
group=io.ballerina.lib
version=1.0.0-SNAPSHOT
version=0.0.1-SNAPSHOT
checkstylePluginVersion=10.12.0
spotbugsPluginVersion=5.0.14
shadowJarPluginVersion=8.1.1
Expand Down
4 changes: 2 additions & 2 deletions tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ plugins {
id "de.undercouch.download" version "5.4.0"
}

group = 'org.example'
version = '1.0.0-SNAPSHOT'
group = project.group
version = project.version

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void test(String projectPath) throws IOException {
jBallerinaBackend.emit(JBallerinaBackend.OutputType.EXEC, jarPath);
// TODO: Extract the zip file and verify the content
Files.delete(jarPath);
Files.delete(Paths.get(projectPath + "-connector-0.1.0.zip").toAbsolutePath());
Files.delete(Paths.get(projectPath + "-connector-0.0.1.zip").toAbsolutePath());
}

@DataProvider(name = "data-provider")
Expand Down
4 changes: 2 additions & 2 deletions tests/src/test/resources/ballerina/project1/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
org = "org"
name = "project1"
version = "0.1.0"
version = "0.0.1"
distribution = "2201.9.0"

[build-options]
Expand All @@ -10,5 +10,5 @@ observabilityIncluded = true
[[dependency]]
org = "ballerinax"
name = "mi"
version = "0.1.0"
version = "0.0.1"
repository = "local"
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ observabilityIncluded = true
[[dependency]]
org = "ballerinax"
name = "mi"
version = "0.1.0"
version = "0.0.1"
repository = "local"
2 changes: 1 addition & 1 deletion tool/tool-mi/BalTool.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
id = "mi"

[[dependency]]
path = "../tool-mi-cli/build/libs/tool-mi-cli-1.0.0-SNAPSHOT.jar"
path = "../tool-mi-cli/build/libs/tool-mi-cli-0.0.1-SNAPSHOT.jar"
2 changes: 1 addition & 1 deletion tool/tool-mi/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
org = "ballerinax"
name = "tool_mi"
version = "0.1.0"
version = "0.0.1"
distribution = "2201.8.6"
2 changes: 1 addition & 1 deletion tool/tool-mi/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ distribution-version = "2201.9.0"
[[package]]
org = "ballerinax"
name = "tool_mi"
version = "0.1.0"
version = "0.0.1"
modules = [
{org = "ballerinax", packageName = "tool_mi", moduleName = "tool_mi"}
]
Expand Down
Loading