-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.moxie
128 lines (111 loc) · 3.65 KB
/
build.moxie
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
117
118
119
120
121
122
123
124
125
126
127
128
#
# gramlab-ide-plugin-treeCloud Moxie project descriptor
# added by Aleksandra Chashchina
#
# For an overview on Moxie project descriptors
# @see http://moxie.gitblit.com/moxiedescriptor.html
#
# This file is based on gitblit-powertools-plugin
# @see https://github.com/gitblit/gitblit-powertools-plugin
#
# Specify minimum Moxie version required to build
requires: 0.9.2
# Project Metadata
name: gramlab-ide-plugin-treeCloud
description: GramLab IDE treeCloud plugin
groupId: org.gramlab.plugins
artifactId: treeCloud
version: 1.0.0-SNAPSHOT
packaging: zip
inceptionYear: 2016
organization: unitexgramlab.org
url: 'http://unitexgramlab.org'
issuesUrl: 'https://github.com/UnitexGramLab/gramlab-ide-plugin-treecloud/issues'
# Current stable release
releaseVersion: 1.0.0
releaseDate: 2016-08-15
# Licenses section included for POM generation
licenses:
- {
name: Apache License, Version 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
}
# Developers section included for POM generation
developers:
- {
id: ide-developers
name: 'The Unitex/GramLab IDE developers'
url: 'https://github.com/orgs/UnitexGramLab/teams/ide'
organization: 'Unitex/GramLab'
organizationUrl: 'http://unitexgramlab.org'
roles: developer
}
# SCM section included for POM generation
scm: {
connection: 'scm:git:git://github.com/UnitexGramLab/gramlab-ide-plugin-treecloud.git'
developerConnection: 'scm:git:https://github.com/UnitexGramLab/gramlab-ide-plugin-treecloud.git'
url: 'https://github.com/UnitexGramLab/gramlab-ide-plugin-treecloud'
tag: HEAD
}
# Moxie supports multiple source directories and allows you to assign
# a scope to each directory.
sourceDirectories:
- compile 'src/main/java'
resourceDirectories:
- compile 'src/main/resources'
# Define the main class for the build process
mainclass: org.gramlab.plugins.fileEditor.Plugin
# compile for Java 7 class format
tasks: {
'mx:javac' : {
source: 1.7
target: 1.7
compiler: javac1.7
encoding: UTF-8
# stop complaints about bootstrap classpath when compiling with Java 7
compilerArgs: '-Xlint:-options'
}
}
# Generate Eclipse project files.
# Generate IntelliJ IDEA module files.
# Generate a distribution Maven POM (not suitable for building with Maven).
apply: eclipse, intellij, pom
# Copy all retrieved dependencies to the "ext" directory.
# Generated IDE settings (.classpath, etc) will use the artifacts
# from this project-relative directory. This allows the IDE settings
# to be version-controlled and shared.
dependencyDirectory: ext
# Register the GramLab Maven repository
registeredRepositories:
-{
id: 'org.gramlab'
url: 'http://UnitexGramLab.github.io/gramlab-ide-maven-artifacts/'
}
repositories: 'central', 'org.gramlab'
# Convenience properties for dependencies
properties: {
gramlab.version : 3.2.0
}
# Dependencies
#
# May be tagged with ":label" notation to group dependencies.
#
# "@extension" fetches the artifact with the specified extension
# and ignores all transitive dependencies.
#
# "!groupId" or "!groupId:artifactId" excludes all matching transitive
# dependencies in that dependency's dependency graph.
#
dependencies:
# FIXME(martinec) create http://gramlab-ide.github.io/gramlab-ide-maven
#- provided 'org.gramlab:gramlab:${gramlab.version}'
# temporal workaround
- provided 'org.slf4j:slf4j-api:1.7.21'
- provided 'org.slf4j:slf4j-simple:1.7.21'
- provided 'ro.fortsoft.pf4j:pf4j:0.13.1'
- provided 'org.gramlab.api:gramlab-api:1.0.1-SNAPSHOT'
- provided 'org.gramlab.core:gramlab-core:1.0.1-SNAPSHOT'
- test 'junit'
# Dependencies with the "build" scope are retrieved
# and injected into the Ant runtime classpath
- build 'jacoco'