diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 00000000..21937764 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,32 @@ +# Flujo de trabajo para construir el código al hacer push o pull_request en la rama desarrollo +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle + +name: Integración continua con Gradle (gradlew) + +on: + push: + branches: [ desarrollo ] + pull_request: + branches: [ desarrollo ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'temurin' + - name: Dar permisos a gradlew + run: chmod +x gradlew + - name: Construir el código con gradlew + run: ./gradlew build diff --git a/DEVELOPERS.txt b/DEVELOPERS.txt new file mode 100644 index 00000000..16601185 --- /dev/null +++ b/DEVELOPERS.txt @@ -0,0 +1 @@ +Sergio García López \ No newline at end of file diff --git a/README.md b/README.md index a574ce6c..46a58307 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,5 @@ Librería con capacidades que den soporte al desarrollo de aplicaciones para la ## [Página en gitHub Pages](https://mit-fs.github.io/Audit4Improve-API/) +Soy el usuario sergarlop2 + diff --git a/build.gradle b/build.gradle index 396b277b..876e5931 100644 --- a/build.gradle +++ b/build.gradle @@ -63,7 +63,7 @@ dependencies { // https://mvnrepository.com/artifact/org.kohsuke/github-api //JAVADOC: https://github-api.kohsuke.org/apidocs/index.html - implementation group: 'org.kohsuke', name: 'github-api', version: '1.301' + api 'org.kohsuke:github-api:1.301' //Para la persistencia de informes usaremos la api apachepoi // https://mvnrepository.com/artifact/org.apache.poi/poi //JAVADOC: https://poi.apache.org/apidocs/5.0/ @@ -87,9 +87,9 @@ dependencies { //JAVADOC: https://javadoc.io/doc/org.mockito/mockito-junit-jupiter/latest/index.html testImplementation 'org.mockito:mockito-junit-jupiter:4.3.1' - testImplementation(platform('org.junit:junit-bom:5.8.2')) - //JAVADOC: https://www.javadoc.io/doc/org.junit.jupiter/junit-jupiter-api/latest/index.html - testImplementation('org.junit.jupiter:junit-jupiter') + testImplementation(platform('org.junit:junit-bom:5.8.2')) + //JAVADOC: https://www.javadoc.io/doc/org.junit.jupiter/junit-jupiter-api/latest/index.html + testImplementation('org.junit.jupiter:junit-jupiter') }