Skip to content

Commit e9bd03b

Browse files
Gradle init...
1 parent 9b14a37 commit e9bd03b

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
out
55
/bin/
66
target/
7+
gradle/
8+
.gradle/
9+
gradlew*

build.gradle

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
apply plugin: 'java'
3+
4+
// In this section you declare where to find the dependencies of your project
5+
repositories {
6+
// Use 'jcenter' for resolving your dependencies.
7+
// You can declare any Maven/Ivy/file repository here.
8+
jcenter()
9+
}
10+
11+
compileJava {
12+
sourceCompatibility = '1.8'
13+
}
14+
15+
// In this section you declare the dependencies for your production and test code
16+
dependencies {
17+
// The production code uses the SLF4J logging API at compile time
18+
compile 'org.slf4j:slf4j-api:1.7.21'
19+
20+
// Declare the dependency for your favourite test framework you want to use in your tests.
21+
// TestNG is also supported by the Gradle Test task. Just change the
22+
// testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add
23+
// 'test.useTestNG()' to your build script.
24+
testCompile 'junit:junit:4.12'
25+
}

settings.gradle

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* This settings file was auto generated by the Gradle buildInit task
3+
* by 'tasnim' at '1/7/18 1:54 PM' with Gradle 2.14.1
4+
*
5+
* The settings file is used to specify which projects to include in your build.
6+
* In a single project build this file can be empty or even removed.
7+
*
8+
* Detailed information about configuring a multi-project build in Gradle can be found
9+
* in the user guide at https://docs.gradle.org/2.14.1/userguide/multi_project_builds.html
10+
*/
11+
12+
/*
13+
// To declare projects as part of a multi-project build use the 'include' method
14+
include 'shared'
15+
include 'api'
16+
include 'services:webservice'
17+
*/
18+
19+
rootProject.name = 'java-tutorial'

0 commit comments

Comments
 (0)