-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.rb
55 lines (44 loc) · 1.59 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
project 'pixelflow' do
model_version '4.0.0'
id 'ruby-processing:pixelflow:1.2.0'
packaging 'jar'
description 'PixelFlow-library for JRubyArt'
organization 'ruby-processing', 'https://ruby-processing.github.io'
{ 'diwi' => 'Thomas Diewald', 'monkstone' => 'Martin Prout' }.each do |key, value|
developer key do
name value
roles 'developer'
end
end
license 'MIT', 'https://mit-license.org/'
issue_management 'https://github.com/ruby-processing/pixelflow/issues', 'Github'
source_control( :url => 'https://github.com/ruby-processing/pixelflow',
:connection => 'scm:git:git://github.com/ruby-processing/pixelflow.git',
:developer_connection => 'scm:git:git@github.com:ruby-processing/pixelflow.git' )
properties( 'maven.compiler.source' => '1.8',
'project.build.sourceEncoding' => 'UTF-8',
'maven.compiler.target' => '1.8',
'polyglot.dump.pom' => 'pom.xml',
'jogl.version' => '2.3.2'
)
jar 'org.processing:core:3.3.6'
jar('org.jogamp.jogl:jogl-all:${jogl.version}')
jar('org.jogamp.gluegen:gluegen-rt-main:${jogl.version}')
plugin( :compiler, '3.5.1',
'source' => '${maven.compiler.source}',
'target' => '${maven.compiler.target}' )
plugin( :jar, '3.0.2',
'archive' => {
'manifestFile' => 'MANIFEST.MF'
} )
plugin( :resources, '2.6')
build do
default_goal 'package'
resource do
directory 'src'
excludes '**/*.java'
end
source_directory 'src'
final_name 'PixelFlow'
end
end