Skip to content

Commit

Permalink
Set version via VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
hpmellema committed Apr 12, 2023
1 parent ab7af96 commit 0b5eddc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.6.0
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@
import com.github.spotbugs.snom.Effort
import com.github.spotbugs.snom.SpotBugsTask
import com.adarshr.gradle.testlogger.TestLoggerExtension;
import java.nio.charset.Charset

group = "software.amazon.smithy"
version = "0.6.0"
// Load the version from VERSION File.
version = project.file("VERSION").readText().replace(System.lineSeparator(), "")
description = "This project integrates Smithy with Gradle. This plugin can build artifacts " +
"from Smithy models, generate JARs that contain Smithy models found in Java " +
"projects, and generate JARs that contain filtered *projections* of Smithy " +
"models."

println("Smithy version: '${version}'")

plugins {
`java-gradle-plugin`
Expand Down

0 comments on commit 0b5eddc

Please sign in to comment.