forked from myniva/gradle-s3-build-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (43 loc) · 1.14 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
plugins {
id 'java-gradle-plugin'
id 'com.gradle.plugin-publish' version '0.9.7'
id 'org.shipkit.java' version '1.0.7'
}
repositories {
jcenter()
}
apply plugin: 'maven-publish'
apply plugin: 'com.gradle.plugin-publish'
apply plugin: 'org.shipkit.gradle-plugin'
group = 'ch.myniva.gradle'
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
dependencies {
compile 'com.amazonaws:aws-java-sdk-s3:1.+'
testCompile 'junit:junit:4.+'
testCompile 'org.mockito:mockito-core:2.+'
}
gradlePlugin {
plugins {
s3BuildCache {
id = 'ch.myniva.s3-build-cache'
implementationClass = 'ch.myniva.gradle.caching.s3.AwsS3Plugin'
}
}
}
pluginBundle {
website = 'https://github.com/myniva/gradle-s3-build-cache'
vcsUrl = 'https://github.com/myniva/gradle-s3-build-cache'
description = 'An AWS S3 build cache implementation'
tags = ['build-cache']
plugins {
s3BuildCache {
id = 'ch.myniva.s3-build-cache'
displayName = 'AWS S3 build cache'
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.0'
distributionType = 'all'
}