-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (48 loc) · 1.37 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'java-gradle-plugin'
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2"
}
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
classpath 'gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.6'
}
}
repositories {
mavenCentral()
}
apply from: 'scripts/publishing.gradle'
apply from: 'scripts/google-java-format.gradle'
apply from: 'scripts/checkstyle.gradle'
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
group = 'com.google.cloud.tools'
version = '1.0.3-SNAPSHOT'
dependencies {
compile localGroovy()
compile gradleApi()
compile "com.google.endpoints:endpoints-framework-tools:2.0.7"
compile "com.google.guava:guava:19.0"
testCompile 'commons-io:commons-io:2.4'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'org.mockito:mockito-core:2.1.0'
testCompile 'junit:junit:4.12'
}
jar {
manifest {
attributes 'Implementation-Title': project.name,
'Implementation-Version': version,
'Built-By': System.getProperty('user.name'),
'Built-Date': new Date(),
'Built-JDK': System.getProperty('java.version'),
'Built-Gradle': gradle.gradleVersion
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.0'
}