|
| 1 | +# frozen_string_literal: true |
| 2 | + |
1 | 3 | require 'fileutils' |
| 4 | + |
2 | 5 | project 'arcball', 'https://github.com/ruby-processing/ArcBall' do |
3 | 6 | model_version '4.0.0' |
4 | | - id 'arcball:arcball', '1.0.1' |
| 7 | + id 'arcball:arcball', '1.0.2' |
5 | 8 | packaging 'jar' |
6 | 9 | description 'arcball for arcball' |
7 | 10 | organization 'ruby-processing', 'https://ruby-processing.github.io' |
|
18 | 21 | url: 'https://github.com/ruby-processing/ArcBall', |
19 | 22 | connection: 'scm:git:git://github.com/ruby-processing/ArcBall', |
20 | 23 | developer_connection: 'scm:git:[email protected]/ruby-processing/ArcBall.git' |
21 | | - ) |
| 24 | + ) |
22 | 25 |
|
23 | 26 | properties('source.directory' => 'src', |
24 | | - 'arcball.basedir' => '${project.basedir}', |
25 | | - 'polyglot.dump.pom' => 'pom.xml', |
26 | | - 'maven.compiler.source' => '1.8', |
27 | | - 'project.build.sourceEncoding' => 'utf-8', |
28 | | - 'maven.compiler.target' => '1.8', |
29 | | - 'jruby.api' => 'http://jruby.org/apidocs/', |
30 | | - 'processing.api' => 'http://processing.github.io/processing-javadocs/core/', |
31 | | - 'jruby.api' => 'http://jruby.org/apidocs/', |
32 | | - ) |
33 | | - |
34 | | - pom('org.jruby:jruby:9.1.17.0') |
| 27 | + 'arcball.basedir' => '${project.basedir}', |
| 28 | + 'polyglot.dump.pom' => 'pom.xml', |
| 29 | + 'maven.compiler.source' => '1.8', |
| 30 | + 'project.build.sourceEncoding' => 'utf-8', |
| 31 | + 'maven.compiler.target' => '1.8', |
| 32 | + 'jruby.api' => 'http://jruby.org/apidocs/', |
| 33 | + 'processing.api' => 'http://processing.github.io/processing-javadocs/core/') |
| 34 | + |
| 35 | + pom('org.jruby:jruby:9.2.11.1') |
35 | 36 | jar('org.processing:core:3.3.7') |
36 | 37 |
|
37 | | - plugin_management do |
38 | | - plugin :resources, '2.6' |
39 | | - plugin :dependency, '2.10' |
40 | | - |
41 | | - plugin( :compiler, '3.7.0', |
42 | | - source: '${maven.compiler.source}', |
43 | | - target: '${maven.compiler.target}' |
44 | | - ) |
45 | | - plugin( :javadoc, '2.10.4', |
46 | | - detect_offline_links: 'false', |
47 | | - links: ['${jruby.api}', '${processing.api}'] |
48 | | - ) |
49 | | - plugin( :jar, '3.0.2', |
50 | | - archive: { manifestFile: 'MANIFEST.MF' } |
51 | | - ) |
| 38 | + overrides do |
| 39 | + plugin :dependency, '3.1.2' |
| 40 | + plugin(:compiler, '3.8.1', |
| 41 | + source: '${maven.compiler.source}', |
| 42 | + target: '${maven.compiler.target}') |
| 43 | + plugin(:javadoc, '2.10.4', |
| 44 | + 'detectOfflineLinks' => 'false', |
| 45 | + 'links' => ['${processing.api}', |
| 46 | + '${jruby.api}']) |
| 47 | + plugin(:jar, '3.2.0', |
| 48 | + archive: { manifestFile: 'MANIFEST.MF' }) |
52 | 49 | end |
53 | 50 |
|
54 | 51 | build do |
|
0 commit comments