Sha256: 9886507dc03fa560dc7c3c5151ec076ad634b3a5daf326f3c18321643492842d

Contents?: true

Size: 1.91 KB

Versions: 1

Compression:

Stored size: 1.91 KB

Contents

project 'picrate', 'http://maven.apache.org' do

  model_version '4.0.0'
  id 'ruby-processing:picrate:1.1.0'
  packaging 'jar'

  description 'An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.'

  organization 'ruby-processing', 'https://ruby-processing.github.io'

  {
    'monkstone' => 'Martin Prout', 'benfry' => 'Ben Fry',
    'REAS' => 'Casey Reas', 'codeanticode' => 'Andres Colubri'
  }.each do |key, value|
    developer key do
      name value
      roles 'developer'
    end
  end
  license 'GPL 3', 'http://www.gnu.org/licenses/gpl-3.0-standalone.html'
  license 'LGPL 2', 'https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html'

  issue_management 'https://github.com/ruby-processing/PiCrate/issues', 'Github'

  properties( 'jogl.version' => '2.3.2',
    'jruby.api' => 'http://jruby.org/apidocs/',
    'source.directory' => 'src',
    'processing.api' => 'http://processing.github.io/processing-javadocs/core/',
    'picrate.basedir' => '${project.basedir}',
    'project.build.sourceEncoding' => 'utf-8',
    'polyglot.dump.pom' => 'pom.xml'
  )

  pom 'org.jruby:jruby:9.2.8.0'
  jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
  jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
  jar 'org.processing:video:3.0.2'
end

overrides do
  plugin :resources, '2.7'
  plugin :dependency, '2.8'
  plugin( :compiler, '3.8.1', 'release' => '8' )
  plugin(
    :javadoc,
    '2.10.4',
    'detectOfflineLinks' =>  'false',
    'links' => [ '${processing.api}', '${jruby.api}' ]
  )
  plugin(
    :jar, '3.1.0',
    'archive' => {
      'manifestEntries' => { 'Class-Path' => 'gluegen-rt.jar jog-all.jar' }
    }
  )
end

build do
  resource do
    directory '${source.directory}/main/java'
    includes '**/**/*.glsl', '**/*.jnilib'
    excludes '**/**/*.java'
  end
  resource do
    directory '${source.directory}/main/resources'
    includes '**/*.png', '*.txt'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picrate-1.1.0-java pom.rb