-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.rb
65 lines (54 loc) · 1.66 KB
/
pom.rb
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
project 'Wordcram' do
model_version '4.0.0'
id 'wordcram:WordCram:2.1.1'
packaging 'jar'
description 'WordCram for JRubyArt, PiCrate and propane'
developer 'danbernier' do
name 'Dan Bernier'
roles 'developer'
end
developer 'jdf' do
name 'Jonathan Feinberg'
roles 'developer'
end
developer 'monkstone' do
name 'Martin Prout'
roles 'developer'
end
properties( 'source.directory' => 'src',
'project.build.sourceEncoding' => 'UTF-8',
'target.release' => '11',
'polyglot.dump.pom' => 'pom.xml',
'wordcram.basedir' => '${project.basedir}'
)
jar 'org.processing:core:4.0.0'
jar 'org.jsoup:jsoup:1.14.2'
overrides do
plugin( :compiler, '3.8.1',
'release' => '${target.release}' )
plugin( :jar, '3.2.0',
'archive' => {
'manifestEntries' => {
'Automatic-Module-Name' => 'org.processing.core'
}
} )
plugin :resources, '2.6'
plugin :dependency, '3.2.0' do
execute_goals( :id => 'default-cli',
'artifactItems' => [ { 'groupId' => 'org.jsoup',
'artifactId' => 'jsoup',
'version' => '1.14.2',
'type' => 'jar',
'outputDirectory' => '${wordcram.basedir}/lib' } ] )
end
end
build do
default_goal 'package'
source_directory '${source.directory}'
final_name 'WordCram'
resource do
directory 'src'
excludes '**/*.java'
end
end
end