-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
61 lines (52 loc) · 1.46 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
58
59
60
61
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id "org.sonarqube" version "3.4.0.2513"
id 'jacoco'
id 'com.gradle.plugin-publish' version '1.0.0'
id "com.diffplug.spotless" version "6.17.0"
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.azure:azure-storage-blob:12.19.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0")
testImplementation("org.mockito:mockito-core:4.7.0")
testCompile("org.assertj:assertj-core:3.23.1")
}
group = "de.timmhirsens.azureblobcache"
version = "0.1.0"
sourceCompatibility = 1.8
gradlePlugin {
// Define the plugin
plugins {
azureblobcache {
id = 'de.timmhirsens.azureblobcache.caching'
displayName = 'Azure Blob Storage Build Cache'
description = 'This is a Gradle build cache implementation that uses the Azure Blob Storage as a storage backend for cache objects.'
implementationClass = 'de.timmhirsens.azureblobcache.AzureBlobBuildCachePlugin'
}
}
}
pluginBundle {
website = 'https://github.com/fr1zle/azureblob-build-cache'
vcsUrl = 'https://github.com/fr1zle/azureblob-build-cache.git'
tags = ['build-cache', 'azure']
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
spotless {
java {
googleJavaFormat()
}
}
sonarqube {
properties {
property "sonar.projectKey", "fr1zle_azureblob-build-cache"
}
}