Skip to content

Commit e9f9f67

Browse files
committed
#22 Updated POM
1 parent 36deeba commit e9f9f67

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ sourceSets{
2121
}
2222

2323
dependencies{
24-
implementation 'org.apache.commons:commons-text:+'
25-
implementation 'org.apache.commons:commons-lang3:3.+'
24+
implementation 'org.apache.commons:commons-text:1.10.0'
25+
implementation 'org.apache.commons:commons-lang3:3.12.0'
2626
implementation 'org.jetbrains:annotations:23.0.0'
27-
testImplementation 'junit:junit:4.13'
27+
testImplementation 'junit:junit:4.13.1'
2828
implementation files('res/jars/JSplashScreen.jar')
2929
}
3030

@@ -33,7 +33,7 @@ jar {
3333
manifest.attributes 'Main-Class' : 'com.redomar.game.Launcher'
3434
}
3535

36-
task createPom {
36+
tasks.register('createPom') {
3737
pom {
3838
project {
3939
groupId 'com.redomar.game'

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<dependency>
1818
<groupId>org.apache.commons</groupId>
1919
<artifactId>commons-text</artifactId>
20-
<version>+</version>
20+
<version>1.10.0</version>
2121
<scope>runtime</scope>
2222
</dependency>
2323
<dependency>
2424
<groupId>org.apache.commons</groupId>
2525
<artifactId>commons-lang3</artifactId>
26-
<version>3.+</version>
26+
<version>3.12.0</version>
2727
<scope>runtime</scope>
2828
</dependency>
2929
<dependency>
@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>junit</groupId>
3737
<artifactId>junit</artifactId>
38-
<version>4.13</version>
38+
<version>4.13.1</version>
3939
<scope>test</scope>
4040
</dependency>
4141
</dependencies>

src/com/redomar/game/entities/projectiles/Small.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ public Small(LevelHandler level, int x, int y, double dir) {
2525
AudioHandler smallSound = new AudioHandler(smallShot);
2626
smallSound.setVolume(-15);
2727
smallSound.play();
28-
} catch (NullPointerException e) {
29-
entityPrinter.cast().exception(e.toString()).exception("Unable to load Audio file " + smallShot.getName());
3028
} catch (Exception e) {
31-
throw new RuntimeException(e);
29+
entityPrinter.cast().exception(e.toString()).exception("Unable to load Audio file " + smallShot.getName());
3230
}
3331
}
3432

0 commit comments

Comments
 (0)