forked from fern-api/fern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (45 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
54
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
}
}
plugins {
id "com.palantir.consistent-versions" version "2.19.0"
id "org.inferred.processors" version "3.7.0"
id "com.jfrog.artifactory" version "5.1.14"
id 'maven-publish'
id("com.diffplug.spotless") version "6.25.0"
}
group 'io.github.fern-api'
apply plugin: 'com.palantir.consistent-versions'
spotless {
java {
target '*/src/main/java/**/*.java', '*/src/test/java/**/*.java'
palantirJavaFormat('2.46.0').formatJavadoc(true)
}
}
allprojects {
apply plugin: "org.inferred.processors"
apply plugin: "maven-publish"
apply plugin: "com.jfrog.artifactory"
apply plugin: "java-library"
version rootProject.version
group rootProject.group
repositories {
mavenCentral()
maven {
url "https://maven.buildwithfern.com"
}
maven {
url "https://maven-dev.buildwithfern.com"
}
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
sourceCompatibility = 11
}