forked from flipkart-incubator/Krystal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (52 loc) · 1.42 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
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.16.0'
}
}
plugins {
id 'java-gradle-plugin'
id 'groovy'
id 'maven-publish'
}
group 'com.flipkart.java.code.standard'
version '3.5'
gradlePlugin {
plugins {
simplePlugin {
id = 'com.flipkart.java.code.standard'
implementationClass = 'com.flipkart.java.code.FkJavaCodeStandard'
}
}
}
dependencies {
implementation 'org.checkerframework:checkerframework-gradle-plugin:0.6.30'
implementation 'com.diffplug.spotless:spotless-plugin-gradle:6.16.0'
implementation 'net.ltgt.gradle:gradle-errorprone-plugin:4.0.0'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
publishing {
repositories {
maven {
url "https://clojars.org/repo"
credentials {
username = rootProject.ext.clojarsusername
password = rootProject.ext.clojarspassword
}
}
}
publications.withType(MavenPublication).configureEach {
pom {
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
}
}
}