forked from dikalo/lienzo-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
116 lines (100 loc) · 3.29 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/*
* Copyright (c) 2014,2015 Ahome' Innovation Technologies. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'signing'
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '2.0.151-RC1'
group = 'com.ahome-it'
task doJavaDocs(type: Javadoc) {
source = sourceSets.main.allJava
failOnError = false
title = 'Ahome Lienzo Core - GWT library for high-speed Structued Graphics based on the Canvas element.'
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: doJavaDocs) {
classifier = 'javadoc'
from javadoc.destinationDir
}
compileJava.dependsOn(clean)
jar {
manifest {
attributes 'Implementation-Title': 'Lienzo-Core', 'Implementation-Version': version
}
from sourceSets.main.allSource
}
repositories {
mavenCentral()
}
sourceSets {
main {
resources {
source java
}
}
}
dependencies {
compile(group: 'com.google.gwt', name: 'gwt-user', version: '2.7.0')
compile(group: 'com.ahome-it', name: 'ahome-tooling-nativetools', version: '1.0.45-RELEASE')
}
artifacts {
archives sourcesJar
archives javadocJar
archives jar
}
signing {
sign configurations.archives
}
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "${sonatype_stageingURL}") {
authentication(userName: "${sonatype_user}", password: "${sonatype_password}")
}
pom.project {
name 'Lienzo-Core'
packaging 'jar'
description 'Ahome Lienzo Core - GWT library for high-speed Structued Graphics based on the Canvas element.'
url 'https://github.com/ahome-it/lienzo-core'
scm {
url 'scm:git@github.com:ahome-it/lienzo-core.git'
connection 'scm:git@github.com:ahome-it/lienzo-core.git'
developerConnection 'scm:git@github.com:ahome-it/lienzo-core.git'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
developers {
developer {
id 'sprocketnyc'
name 'Dean S. Jones'
email 'deansjones@gmail.com'
url 'http://www.lienzo-core.com'
}
}
}
}
}
}