Skip to content

Commit

Permalink
[Tech] Ajout de gradle (#909)
Browse files Browse the repository at this point in the history
- Supprime Maven du projet
- Ajout gradle dans le build docker
----

- [ ] Tests E2E (Cypress)
  • Loading branch information
louptheron authored Nov 1, 2023
2 parents 4d2f308 + e1fbb1d commit fc7e862
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 1,046 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dev-check-config:
dev-run-back-with-infra: dev-erase-db dev-run-infra dev-clean-target-env dev-run-back

dev-run-back:
cd backend && ./mvnw spring-boot:run -Dspring-boot.run.arguments="--spring.config.additional-location="$(BACKEND_CONFIGURATION_FOLDER)"" -Dspring-boot.run.profiles="dev"
cd backend && ./gradlew bootRun --args='--spring.profiles.active=dev --spring.config.additional-location=$(BACKEND_CONFIGURATION_FOLDER)'

dev-run-infra:
@echo "Preparing database"
Expand Down
117 changes: 0 additions & 117 deletions backend/.mvn/wrapper/MavenWrapperDownloader.java

This file was deleted.

Binary file removed backend/.mvn/wrapper/maven-wrapper.jar
Binary file not shown.
2 changes: 0 additions & 2 deletions backend/.mvn/wrapper/maven-wrapper.properties

This file was deleted.

3 changes: 3 additions & 0 deletions backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ version = "VERSION_TO_CHANGE"
description = "MonitorEnv"
java.sourceCompatibility = JavaVersion.VERSION_17

/*
// TODO Re-add this library When there will be no more IDE conflicts
sourceSets {
create("publicApi") {
java {
Expand Down Expand Up @@ -119,6 +121,7 @@ publishing {
}
}
}
*/

springBoot {
mainClass.set("fr.gouv.cacem.monitorenv.MonitorenvApplicationKt")
Expand Down
Loading

0 comments on commit fc7e862

Please sign in to comment.