Skip to content

Commit

Permalink
Fix gradle deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignas committed Jan 6, 2024
1 parent eae79ba commit 2ed9600
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ plugins {
id 'com.ryandens.javaagent-application' version "0.4.2"
}

def rawVersion = project.hasProperty('version') ? project.version : '0.1.0-SNAPSHOT'
String rawVersion = project.hasProperty('version') ? project.version : '0.1.0-SNAPSHOT'
def versionWithoutPrefix = rawVersion.replaceAll('^v', '')

group = 'lt.pow.nukagit'
version = versionWithoutPrefix
mainClassName = 'lt.pow.nukagit.Main'

application {
mainClass = 'lt.pow.nukagit.Main'
}

repositories {
mavenCentral()
Expand Down
5 changes: 4 additions & 1 deletion cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ plugins {

group = 'lt.pow.nukagit'
version = '0.1.0-SNAPSHOT'
mainClassName = 'lt.pow.nukagit.cli.Main'

application {
mainClass = 'lt.pow.nukagit.cli.Main'
}

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'de.fayard.refreshVersions' version '0.51.0'
id 'de.fayard.refreshVersions' version '0.60.3'
}

rootProject.name = 'nukagit'
Expand Down
4 changes: 2 additions & 2 deletions versions.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#### Dependencies and Plugin versions with their available updates.
#### Generated by `./gradlew refreshVersions` version 0.51.0
#### Generated by `./gradlew refreshVersions` version 0.60.3
####
#### Don't manually edit or split the comments that start with four hashtags (####),
#### they will be overwritten by refreshVersions.
####
#### suppress inspection "SpellCheckingInspection" for whole file
#### suppress inspection "UnusedProperty" for whole file
####
#### NOTE: Some versions are filtered by the rejectVersionsIf predicate. See the settings.gradle.kts file.
#### NOTE: Some versions are filtered by the rejectVersionIf predicate. See the settings.gradle.kts file.

version.com.github.gestalt-config..gestalt-core=0.24.2

Expand Down

0 comments on commit 2ed9600

Please sign in to comment.