diff --git a/.github/copilot-instrucciones.md b/.github/copilot-instrucciones.md new file mode 100644 index 0000000..3c8e016 --- /dev/null +++ b/.github/copilot-instrucciones.md @@ -0,0 +1,21 @@ +# Copilot Instructions + +**Before committing any changes to this repository, you must run the Spotless formatting task using Gradle.** + +This ensures that all code adheres to the project's formatting standards and helps maintain a clean, consistent codebase. + +## How to Apply Spotless Formatting + +Run the following command in the project root: + +```bash +gradle spotlessJavaApply +``` + +Make sure to stage and commit any formatting changes that result from this command. + +--- + +**Summary:** +- Always run `gradle spotlessApply` before every commit. +- Review and include any formatting changes in your commit. \ No newline at end of file diff --git a/build.gradle b/build.gradle index 86094db..8dbfab8 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,8 @@ plugins { group = 'pe.edu.utp' version = '0.0.1-SNAPSHOT' -sourceCompatibility = '21' +sourceCompatibility = '21' +targetCompatibility = '21' configurations { compileOnly { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 48c0a02..3ae1e2f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists