-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
45 lines (37 loc) · 1.04 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
plugins {
id 'com.jfrog.artifactory' version '4.33.1'
id 'com.jfrog.bintray' version '1.8.5'
id 'com.github.ben-manes.versions' version '0.51.0'
id 'com.gradle.plugin-publish' version '0.12.0'
id 'java-gradle-plugin'
id 'groovy'
id 'maven-publish'
}
repositories {
jcenter()
google()
}
apply from: 'gradle/dependencies.gradle'
group = GROUP
version = VERSION_NAME
description = POM_DESCRIPTION
sourceCompatibility = versions.java
targetCompatibility = versions.java
jar {
manifest {
attributes(
'Implementation-Title': POM_NAME,
'Implementation-Version': archiveVersion,
'Built-By': System.getProperty('user.name'),
'Built-Date': new Date(),
'Built-JDK': System.getProperty('java.version'),
'Built-Gradle': gradle.gradleVersion)
}
}
dependencies {
implementation localGroovy()
testImplementation deps.android.tools.build.gradle
testImplementation deps.spock, { exclude module: 'groovy-all' } // Use localGroovy()
}
apply from: 'gradle/compile.gradle'
apply from: 'gradle/publish.gradle'