From f3e8f53e2cd9544f117557f560dfee3393043d5e Mon Sep 17 00:00:00 2001 From: josdem Date: Sun, 7 Apr 2024 15:27:43 -0400 Subject: [PATCH 1/2] Updating Gradle and Junit --- simple-algorithms/birthday-cake-candles/build.gradle | 2 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../src/test/java/com/jos/dem/kata/CandleCounterTest.java | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/simple-algorithms/birthday-cake-candles/build.gradle b/simple-algorithms/birthday-cake-candles/build.gradle index d0ca77c..2669a6d 100644 --- a/simple-algorithms/birthday-cake-candles/build.gradle +++ b/simple-algorithms/birthday-cake-candles/build.gradle @@ -2,7 +2,7 @@ plugins { id 'java' } -def junitJupiterVersion = '5.10.1' +def junitJupiterVersion = '5.10.2' group 'com.jos.dem.kata' version '1.0-SNAPSHOT' diff --git a/simple-algorithms/birthday-cake-candles/gradle/wrapper/gradle-wrapper.properties b/simple-algorithms/birthday-cake-candles/gradle/wrapper/gradle-wrapper.properties index 070cb70..a595206 100644 --- a/simple-algorithms/birthday-cake-candles/gradle/wrapper/gradle-wrapper.properties +++ b/simple-algorithms/birthday-cake-candles/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/simple-algorithms/birthday-cake-candles/src/test/java/com/jos/dem/kata/CandleCounterTest.java b/simple-algorithms/birthday-cake-candles/src/test/java/com/jos/dem/kata/CandleCounterTest.java index 8bd348e..df06060 100644 --- a/simple-algorithms/birthday-cake-candles/src/test/java/com/jos/dem/kata/CandleCounterTest.java +++ b/simple-algorithms/birthday-cake-candles/src/test/java/com/jos/dem/kata/CandleCounterTest.java @@ -7,7 +7,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; -import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.DisplayName; From b5baface0b75913edcb21e03234cdd7e9907858a Mon Sep 17 00:00:00 2001 From: josdem Date: Sun, 7 Apr 2024 15:31:51 -0400 Subject: [PATCH 2/2] Updating package name --- simple-algorithms/birthday-cake-candles/build.gradle | 2 +- .../main/java/com/{jos/dem => josdem}/kata/CandleCounter.java | 2 +- .../java/com/{jos/dem => josdem}/kata/CandleCounterTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename simple-algorithms/birthday-cake-candles/src/main/java/com/{jos/dem => josdem}/kata/CandleCounter.java (84%) rename simple-algorithms/birthday-cake-candles/src/test/java/com/{jos/dem => josdem}/kata/CandleCounterTest.java (96%) diff --git a/simple-algorithms/birthday-cake-candles/build.gradle b/simple-algorithms/birthday-cake-candles/build.gradle index 2669a6d..9f5b988 100644 --- a/simple-algorithms/birthday-cake-candles/build.gradle +++ b/simple-algorithms/birthday-cake-candles/build.gradle @@ -4,7 +4,7 @@ plugins { def junitJupiterVersion = '5.10.2' -group 'com.jos.dem.kata' +group 'com.josdem.kata' version '1.0-SNAPSHOT' repositories { diff --git a/simple-algorithms/birthday-cake-candles/src/main/java/com/jos/dem/kata/CandleCounter.java b/simple-algorithms/birthday-cake-candles/src/main/java/com/josdem/kata/CandleCounter.java similarity index 84% rename from simple-algorithms/birthday-cake-candles/src/main/java/com/jos/dem/kata/CandleCounter.java rename to simple-algorithms/birthday-cake-candles/src/main/java/com/josdem/kata/CandleCounter.java index eabe16d..0929626 100644 --- a/simple-algorithms/birthday-cake-candles/src/main/java/com/jos/dem/kata/CandleCounter.java +++ b/simple-algorithms/birthday-cake-candles/src/main/java/com/josdem/kata/CandleCounter.java @@ -1,4 +1,4 @@ -package com.jos.dem.kata; +package com.josdem.kata; import java.util.List; diff --git a/simple-algorithms/birthday-cake-candles/src/test/java/com/jos/dem/kata/CandleCounterTest.java b/simple-algorithms/birthday-cake-candles/src/test/java/com/josdem/kata/CandleCounterTest.java similarity index 96% rename from simple-algorithms/birthday-cake-candles/src/test/java/com/jos/dem/kata/CandleCounterTest.java rename to simple-algorithms/birthday-cake-candles/src/test/java/com/josdem/kata/CandleCounterTest.java index df06060..1cb2120 100644 --- a/simple-algorithms/birthday-cake-candles/src/test/java/com/jos/dem/kata/CandleCounterTest.java +++ b/simple-algorithms/birthday-cake-candles/src/test/java/com/josdem/kata/CandleCounterTest.java @@ -1,4 +1,4 @@ -package com.jos.dem.kata; +package com.josdem.kata; /* It is your birthday! And you want to make it special, so you want to keep only biggest candles in the cake