-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathbuild.gradle
80 lines (72 loc) · 2.09 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
buildscript {
ext {
grailsVersion = "6.2.0"
}
}
plugins {
id "groovy"
id "java-library"
id "org.grails.grails-plugin" version "6.2.0"
id "com.bertramlabs.asset-pipeline" version "4.4.0"
id "maven-publish"
id "signing"
}
group = "io.github.zyro23"
version = "2.6.0-RC1"
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
api "com.fasterxml.jackson.core:jackson-databind"
api "org.grails:grails-plugin-controllers"
api "org.springframework:spring-messaging"
api "org.springframework:spring-websocket"
}
jar.archiveClassifier = ""
assets.packagePlugin = true
publishing {
repositories {
maven {
name("mavenBuild")
url(layout.buildDirectory.dir("maven"))
}
}
publications {
maven(MavenPublication) {
from components.java
artifact sourcesJar
artifact javadocJar
versionMapping {
usage("java-api") {
fromResolutionOf("runtimeClasspath")
}
}
pom {
name = "io.github.zyro23:grails-spring-websocket"
description = "Spring WebSocket Plugin"
url = "https://github.com/zyro23/grails-spring-websocket"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
name = "zyro"
}
}
scm {
connection = "scm:git:git://github.com/zyro23/grails-spring-websocket.git"
developerConnection = "scm:git:ssh://github.com:zyro23/grails-spring-websocket.git"
url = "https://github.com/zyro23/grails-spring-websocket"
}
}
}
}
}
signing {
sign(publishing.publications.maven)
}