-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
32 lines (27 loc) · 1.06 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'mario' at '9/11/16 18:14' with Gradle 3.0
*
* This generated file contains a 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/3.0/userguide/tutorial_java_projects.html
*/
def config = new ConfigSlurper().parse(new File("$projectDir/src/main/resources/project.properties").toURI().toURL())
version = config.versionNumber
group = config.group
// Apply the java plugin to add support for Java
apply plugin: 'java'
apply plugin: 'maven-publish'
// 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()
}
task wrapper(type: Wrapper) {
gradleVersion = '2.0' //version required
}
// In this section you declare the dependencies for your production and test code
dependencies {
testCompile 'junit:junit:4.12'
}