forked from johndevs/simplecalendar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (46 loc) · 1.06 KB
/
build.gradle
File metadata and controls
58 lines (46 loc) · 1.06 KB
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
apply from: 'http://plugins.jasoft.fi/vaadin.plugin'
apply plugin: 'eclipse-wtp'
apply plugin: 'maven'
group = 'fi.jasoft'
version = project.hasProperty('BUILD_VERSION') ? getProperty('BUILD_VERSION') : 'development';
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
mavenRepo url:'http://oss.sonatype.org/content/repositories/vaadin-snapshots'
}
vaadin {
widgetset 'fi.jasoft.simplecalendar.SimpleCalendarWidgetset'
manageWidgetset false
version '7.1-SNAPSHOT'
addon {
title 'SimpleCalendar'
license 'Apache 2.0'
author 'John Ahlroos'
}
gwt {
strict true
}
plugin {
logToConsole true
}
}
jar{
// JAR filename
baseName = 'simplecalendar'
// Include sources
from sourceSets.main.allJava
}
war {
// WAR filename
archiveName = 'SimpleCalendar.war'
// Include widgetset
dependsOn test, widgetset
// Exclude unneccessery GWT Compiler artifacts
exclude "VAADIN/gwt-unitCache/**"
// Add sources
webInf{
into('classes'){
from sourceSets.main.allJava
}
}
}