-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
70 lines (56 loc) · 1.88 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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java library project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.8/userguide/building_java_projects.html
*/
plugins {
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
id "io.toolebox.git-versioner" version "1.6.5"
id 'maven-publish'
}
group 'com.github.cfogrady'
repositories {
mavenCentral()
}
dependencies {
// Lombok
compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
testCompileOnly 'org.projectlombok:lombok:1.18.22'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
// https://mvnrepository.com/artifact/commons-io/commons-io
implementation 'commons-io:commons-io:2.11.0'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
implementation 'org.slf4j:slf4j-api:1.7.32'
testImplementation 'org.slf4j:slf4j-simple:1.7.32'
implementation 'at.favre.lib:bytes:1.5.0'
// Want to use this library with android eventually, so use android version
// implementation("com.google.guava:guava:31.0.1-android")
// Use JUnit test framework.
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
compileJava {
sourceCompatibility = '11'
targetCompatibility = '11'
}
versioner {
pattern {
pattern = "%M.%m.%p(.%c-%h)"
}
}
test {
useJUnitPlatform()
}
publishing {
publications {
maven(MavenPublication) {
groupId 'com.github.cfogrady'
artifactId 'vb-dim-reader'
from components.java
}
}
}