forked from nebula-plugins/example-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
80 lines (63 loc) · 2.21 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.2'
}
}
plugins {
id 'java-library'
id 'project-report'
id 'nebula.release' version '6.1.0'
id 'nebula.info' version '3.6.0'
id 'nebula.java-cross-compile' version '0.10.0'
// one of maven-publish or ivy-publish, but can use both without issue
id 'nebula.maven-publish' version '5.1.5'
id 'nebula.ivy-publish' version '5.1.5'
id 'nebula.javadoc-jar' version '5.1.5'
id 'nebula.source-jar' version '5.1.5'
id 'nebula.override' version '3.0.2'
id 'nebula.optional-base' version '3.2.0'
id 'nebula.dependency-recommender' version '5.0.0'
id 'nebula.resolution-rules' version '5.0.2'
id 'nebula.dependency-lock' version '4.9.5'
}
apply plugin: 'org.junit.platform.gradle.plugin'
// setup your repositories
repositories {
jcenter()
maven {
url 'repository/maven'
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
configurations.all {
resolutionStrategy {
force 'alignmentrule:alignforce0:2.0.0'
}
}
dependencies {
nebulaRecommenderBom 'example.nebula:bom:1.+@pom'
resolutionRules 'example.nebula:rules:1.+'
implementation 'alignmentrule:b0:1.+'
implementation 'alignmentrule:b1:1.+'
implementation 'alignmentrule:direct-align0:1.0.1'
implementation 'alignmentrule:direct-align1:1.1.0'
implementation 'alignmentrule:exclude-b0:1.+'
implementation 'alignmentrule:exclude-b1:1.+'
implementation 'alignmentrule:exclude-b2:1.+'
implementation 'alignmentrule:bforce0:[1.0.0,2.0.0)'
implementation 'alignmentrule:bforce1:[1.0.0,2.0.0)'
testCompile 'org.junit.jupiter:junit-jupiter-api'
testRuntime 'org.junit.jupiter:junit-jupiter-engine'
testCompileOnly 'org.apiguardian:apiguardian-api:1.0.0'
testCompile 'sustitutionrule:a:1.0.0'
compile 'sustitutionrule:directsubstitute:2.0.0'
compile 'sustitutionrule:arange0:1.0.0'
compile 'sustitutionrule:arange1:1.0.0'
compileOnly 'sustitutionrule:asub:1.0.0'
runtime 'rejectrule:reject:1.+'
runtime 'replacerule:replacementex0:1.0.0'
runtime 'replacerule:replacementex1:1.0.0'
}