-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (50 loc) · 1.64 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
plugins {
id 'java'
}
group 'org.shijinglu'
version '0.1.0'
sourceCompatibility = 1.8
apply plugin: 'java'
apply plugin: 'maven-publish'
repositories {
maven { url "https://jitpack.io" }
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.+'
compile group: 'org.yaml', name: 'snakeyaml', version: '1.+'
compile group: 'net.sourceforge.argparse4j', name: 'argparse4j', version: '0.4.3'
compile group: 'com.google.guava', name: 'guava', version: '27.+'
compile group: 'redis.clients', name: 'jedis', version: '2.+'
implementation 'org.shijinglu:lure-java:v0.1.4'
}
// Publish to Maven Repository
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
maven(MavenPublication) {
groupId = 'org.shijinglu'
artifactId = 'asrc-server-core'
version = "${version}"
from components.java
pom {
name = 'A Simple Configuration Server'
description = 'A light ware DSL lib that handles rule evaluation'
developers {
developer {
id = 'shijinglu'
name = 'Shijing Lu'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:[email protected]:shijinglu/asrc-core.git'
developerConnection = 'scm:git:ssh://github.com/shijinglu/asrc-core.git'
url = 'https://github.com/shijinglu/asrc-core'
}
}
}
}
}