Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni0451 committed Oct 12, 2024
1 parent cc98eee commit 0d39df9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,16 @@ repositories {
dependencies {
implementation "net.raphimc:ViaProxy:3.3.4-SNAPSHOT"
}

processResources {
//Config file: "version: ${version}"
inputs.properties(
"version": project.maven_version
)

filesMatching("viaproxy.yml") {
expand(
"version": project.maven_version
)
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ org.gradle.configureondemand=true
#Maven settings
maven_name=NoLocalConnections
maven_group=net.lenni0451
maven_version=1.2
maven_version=2.0.0
snapshot=false
2 changes: 1 addition & 1 deletion src/main/resources/viaproxy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "NoLocalConnections"
version: "1.2"
version: "${version}"
author: "Lenni0451"
main: "net.lenni0451.nolocalconnections.Main"
min-version: "3.3.4"

0 comments on commit 0d39df9

Please sign in to comment.