-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (53 loc) · 1.55 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
plugins {
id 'java'
}
compileJava.options.encoding = 'UTF-8'
group = 'me.zort'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation project('authorization-lib')
implementation project('authorization-spring')
}
tasks.withType(org.gradle.jvm.tasks.Jar) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
compileJava.options.encoding = 'UTF-8'
publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'com.github.rajce-pro'
artifactId = project.name
version = '1.0'
from components.java
pom {
name = 'ketchup-authorization-java'
description = 'Rajce.pro authorization client libraries (java)'
licenses {
license {
name = 'MIT License'
url = 'https://raw.githubusercontent.com/rajce-pro/ketchup-authorization-java/master/LICENSE'
}
}
developers {
developer {
id = 'zort'
name = 'ZorTik'
email = '[email protected]'
}
}
}
}
}
}
}