-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
82 lines (71 loc) · 2.67 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
classpath 'com.github.ben-manes:gradle-versions-plugin:0.42.0'
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.22.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.105.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.15.0'
classpath 'gradle.plugin.org.inferred:gradle-processors:3.6.0'
classpath 'gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:1.1.4'
}
}
plugins {
id 'com.palantir.consistent-versions' version '2.10.0'
}
apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.palantir.baseline-java-versions'
apply plugin: 'com.palantir.git-version'
apply plugin: "org.jetbrains.gradle.plugin.idea-ext"
javaVersions {
libraryTarget = 19
runtime = 19
}
allprojects {
apply plugin: 'com.palantir.java-format'
group 'com.github.j-baker.vector'
version rootProject.version
repositories {
mavenCentral()
}
}
subprojects {
// baseline-error-prone is currently not compatible
//apply plugin: 'com.palantir.baseline'
apply plugin: 'com.palantir.baseline-enable-preview-flag'
apply plugin: 'com.palantir.baseline-checkstyle'
apply plugin: 'com.palantir.baseline-scala'
apply plugin: 'com.palantir.baseline-eclipse'
apply plugin: 'com.palantir.baseline-idea'
apply plugin: 'com.palantir.baseline-format'
apply plugin: 'com.palantir.baseline-encoding'
apply plugin: 'com.palantir.baseline-reproducibility'
apply plugin: 'com.palantir.baseline-class-uniqueness'
apply plugin: 'com.palantir.baseline-exact-dependencies'
apply plugin: 'com.palantir.baseline-release-compatibility'
apply plugin: 'com.palantir.baseline-testing'
apply plugin: 'com.palantir.baseline-test-heap'
apply plugin: 'com.palantir.baseline-java-compiler-diagnostics'
apply plugin: 'com.palantir.baseline-java-properties'
apply plugin: 'com.palantir.baseline-immutables'
apply plugin: 'com.palantir.baseline-module-jvm-args'
apply plugin: 'com.palantir.baseline-prefer-project-modules'
apply plugin: 'java-library'
apply plugin: 'org.inferred.processors'
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.mockito:mockito-junit-jupiter'
}
}
idea.project.settings {
compiler {
javac {
javacAdditionalOptions "--enable-preview"
}
}
}