-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
73 lines (56 loc) · 1.94 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
/*
* 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 Java Libraries chapter in the Gradle
* User Manual available at https://docs.gradle.org/5.4.1/userguide/java_library_plugin.html
*/
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
id 'maven-publish'
}
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
mavenLocal()
jcenter()
}
dependencies {
testImplementation 'org.testng:testng:6.9.6'
// api 'com.broll.networklib'
// https://mvnrepository.com/artifact/kryonet/kryonet-all
// implementation 'com.dorkbox:MinLog-SLF4J:1.12'
implementation group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.29'
api group: 'com.esotericsoftware', name: 'kryonet', version: '2.22.0-RC1'
implementation("com.google.guava:guava:28.2-jre")
implementation "com.dorkbox:Annotations:2.14"
// https://mvnrepository.com/artifact/commons-io/commons-io
implementation group: 'commons-io', name: 'commons-io', version: '2.6'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.0'
// Use JUnit test framework
testImplementation 'junit:junit:4.+'
testImplementation "org.mockito:mockito-all:1.9.+"
}
javadoc {
source = sourceSets.main.allJava
}
java {
withSourcesJar()
}
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'com.broll'
artifactId = 'networklib'
version = '1.0'
from components.java
}
}
}