From 40430271a7100acf646a98fa1cd29549dfdf1876 Mon Sep 17 00:00:00 2001 From: Mysaa Date: Fri, 2 Jul 2021 23:41:07 +0200 Subject: [PATCH] Ajout de la nature de projet gradle au projet --- .gitignore | 17 ++++++++++++++--- build.gradle | 31 +++++++++++++++++++++++++++++++ settings.gradle | 18 ++++++++++++++++++ 3 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 build.gradle create mode 100644 settings.gradle diff --git a/.gitignore b/.gitignore index c04a4e3..7a3c30a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,15 @@ -.classpath -.project -.settings/ +# Ignore Gradle project-specific cache directory +.gradle/ +gradlew +gradlew.bat +gradle/ + + +# Ignore Gradle build output directory +build/ bin/ + +# Eclipse files +.classpath +.settings +.project diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..2d8b653 --- /dev/null +++ b/build.gradle @@ -0,0 +1,31 @@ +/* + * This build file was generated by the Gradle 'init' task. + * + * This generated file contains a commented-out sample Java project to get you started. + * For more details take a look at the Java Quickstart chapter in the Gradle + * user guide available at https://docs.gradle.org/4.4.1/userguide/tutorial_java_projects.html + */ + +/* +// Apply the java plugin to add support for Java +apply plugin: 'java' + +// In this section you declare where to find the dependencies of your project +repositories { + // Use 'jcenter' for resolving your dependencies. + // You can declare any Maven/Ivy/file repository here. + jcenter() +} + +// In this section you declare the dependencies for your production and test code +dependencies { + // The production code uses the SLF4J logging API at compile time + compile 'org.slf4j:slf4j-api:1.7.25' + + // Declare the dependency for your favourite test framework you want to use in your tests. + // TestNG is also supported by the Gradle Test task. Just change the + // testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add + // 'test.useTestNG()' to your build script. + testCompile 'junit:junit:4.12' +} +*/ diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..4b5b611 --- /dev/null +++ b/settings.gradle @@ -0,0 +1,18 @@ +/* + * This settings file was generated by the Gradle 'init' task. + * + * The settings file is used to specify which projects to include in your build. + * In a single project build this file can be empty or even removed. + * + * Detailed information about configuring a multi-project build in Gradle can be found + * in the user guide at https://docs.gradle.org/4.4.1/userguide/multi_project_builds.html + */ + +/* +// To declare projects as part of a multi-project build use the 'include' method +include 'shared' +include 'api' +include 'services:webservice' +*/ + +rootProject.name = 'BernardLibs.git'