Skip to content

Commit 016aa65

Browse files
committed
build: change snapshot version string check
1 parent c7274ac commit 016aa65

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ dependencies {
9191
}
9292

9393
processResources {
94-
project.properties.put("version", project.version.toString().endsWith("-SNAPSHOT") ? fullVersion : project.version)
94+
if (project.version.toString().endsWith("-SNAPSHOT"))
95+
version = fullVersion
96+
97+
project.properties.put("pluginVersion", project.version)
9598
expand project.properties
9699
}
97100

0 commit comments

Comments
 (0)