Skip to content

Commit

Permalink
update polyglot maven
Browse files Browse the repository at this point in the history
  • Loading branch information
monkstone committed Sep 2, 2019
1 parent 9505138 commit 725f054
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 32 deletions.
3 changes: 2 additions & 1 deletion .mvn/extensions.xml
Expand Up @@ -3,6 +3,7 @@
<extension>
<groupId>io.takari.polyglot</groupId>
<artifactId>polyglot-ruby</artifactId>
<version>0.4.0</version>
<version>0.4.3</version>
</extension>
</extensions>

8 changes: 4 additions & 4 deletions pom.rb
Expand Up @@ -33,22 +33,22 @@
overrides do
plugin :resources, '2.7'
plugin :dependency, '2.8'
plugin( :compiler, '3.8.0',
plugin( :compiler, '3.8.1',
'release' => '11' )
plugin( :javadoc, '2.10.4',
'detectOfflineLinks' => 'false',
'links' => [ '${processing.api}',
'${jruby.api}' ] )
plugin( :jar, '3.1.0',
plugin( :jar, '3.1.1',
'archive' => {
'manifestEntries' => {
'Class-Path' => 'gluegen-rt.jar jog-all.jar'
}
} )
plugin :jdeps, '3.0.0' do
plugin :jdeps, '3.1.2' do
execute_goals 'jdkinternals', 'test-jdkinternals'
end

end


Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Expand Up @@ -97,7 +97,7 @@ DO NOT MODIFIY - GENERATED CODE
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<release>11</release>
</configuration>
Expand All @@ -115,7 +115,7 @@ DO NOT MODIFIY - GENERATED CODE
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<version>3.1.1</version>
<configuration>
<archive>
<manifestEntries>
Expand All @@ -126,7 +126,7 @@ DO NOT MODIFIY - GENERATED CODE
</plugin>
<plugin>
<artifactId>maven-jdeps-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.2</version>
<executions>
<execution>
<goals>
Expand Down
20 changes: 0 additions & 20 deletions src/main/java/monkstone/package-info.java

This file was deleted.

10 changes: 6 additions & 4 deletions src/main/java/processing/core/ThinkDifferent.java
Expand Up @@ -22,7 +22,9 @@

package processing.core;

import java.awt.*;
import java.awt.Desktop;
import java.awt.Image;
import java.awt.Taskbar;


/**
Expand All @@ -38,8 +40,8 @@
*/
public class ThinkDifferent {

private static Desktop desktop;
private static Taskbar taskbar;
private static Desktop desktop; // cached instance
private static Taskbar taskbar; // cached instance

// True if user has tried to quit once. Prevents us from canceling the quit
// call if the sketch is held up for some reason, like an exception that's
Expand All @@ -59,7 +61,7 @@ static public void init(final PApplet sketch) {
getDesktop().setQuitHandler((event, quitResponse) -> {
sketch.exit();

boolean noKnownCrash = PApplet.uncaughtThrowable == null;
var noKnownCrash = PApplet.uncaughtThrowable == null;

if (noKnownCrash && !attemptedQuit) { // haven't tried yet
quitResponse.cancelQuit(); // tell OS X we'll handle this
Expand Down

0 comments on commit 725f054

Please sign in to comment.