-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.rb
63 lines (55 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
# frozen_string_literal: true
require 'fileutils'
project 'arcball', 'https://github.com/ruby-processing/ArcBall' do
model_version '4.0.0'
id 'arcball:arcball', '1.2.0'
packaging 'jar'
description 'arcball for arcball'
organization 'ruby-processing', 'https://ruby-processing.github.io'
{ 'monkstone' => 'Martin Prout' }.each do |key, value|
developer key do
name value
roles 'developer'
end
end
issue_management 'https://github.com/monkstone/arcball/issues', 'Github'
source_control(
url: 'https://github.com/ruby-processing/ArcBall',
connection: 'scm:git:git://github.com/ruby-processing/ArcBall',
developer_connection: 'scm:git:git@github.com/ruby-processing/ArcBall.git'
)
properties('source.directory' => 'src',
'arcball.basedir' => '${project.basedir}',
'polyglot.dump.pom' => 'pom.xml',
'project.build.sourceEncoding' => 'utf-8',
'jruby.api' => 'http://jruby.org/apidocs/',
'processing.api' => 'http://processing.github.io/processing-javadocs/core/')
pom('org.jruby:jruby:9.2.19.0')
jar('org.processing:core:4.0.0')
overrides do
plugin :dependency, '3.1.2'
plugin(
:compiler, '3.8.1',
'release' => '11'
)
plugin(
:javadoc, '2.10.4',
'detectOfflineLinks' => 'false',
'links' => ['${processing.api}',
'${jruby.api}']
)
plugin(
:jar, '3.2.0',
'archive' => {
'manifestEntries' => {
'Automatic-Module-Name' => 'monkstone.arcball'
}
}
)
end
build do
default_goal 'package'
source_directory 'src'
final_name 'arcball'
end
end