-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (68 loc) · 2.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
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 {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.4.RELEASE"
}
}
plugins {
id 'java'
id 'maven-publish'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
implementation platform("io.crnk:crnk-bom:$CRNK_VERSION")
annotationProcessor platform("io.crnk:crnk-bom:$CRNK_VERSION")
compileOnly 'io.crnk:crnk-gen-java' // Intellij classpath workaround, not necessary for Gradle
annotationProcessor 'io.crnk:crnk-gen-java'
implementation "io.crnk:crnk-data-facet"
implementation "io.crnk:crnk-format-plain-json"
implementation "io.crnk:crnk-client"
// Rest Adapter
implementation "com.squareup.okhttp3:okhttp:4.9.1"
// Data Getters & Setters
compileOnly "org.projectlombok:lombok:$LOMBOK_VERSION"
testCompileOnly "org.projectlombok:lombok:$LOMBOK_VERSION"
annotationProcessor "org.projectlombok:lombok:$LOMBOK_VERSION"
testAnnotationProcessor "org.projectlombok:lombok:$LOMBOK_VERSION"
// utils
implementation 'org.reflections:reflections:0.9.12'
implementation 'hu.webarticum:tree-printer:1.3'
implementation 'org.javamoney:moneta:1.1'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.29'
compile(group: 'com.shekhargulati', name: 'strman', version: '0.4.0')
}
test {
useJUnitPlatform()
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'ee.food'
artifactId = 'crnk'
version = '1.0.0-SNAPSHOT'
from components.java
pom {
name = 'Foodee MasterFoxClient for Java'
description = 'A java implementation of our JSON:API library'
developers {
developer {
id = 'joe.gaudet'
name = 'Joe Gaudet'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:git://github.com/Foodee/master-fox-client-for-java'
developerConnection = 'scm:git:ssh://example.com/my-library.git'
url = 'https://github.com/Foodee/master-fox-client-for-java'
}
}
}
}
}