Skip to content

Commit fc23316

Browse files
committed
feat: mudado organizacao das pastas
1 parent 47c8198 commit fc23316

File tree

6 files changed

+9
-4
lines changed

6 files changed

+9
-4
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"java.configuration.updateBuildConfiguration": "interactive"
3+
}

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@
1212
<!-- FIXME change it to the project's website -->
1313
<url>http://www.example.com</url>
1414

15+
16+
1517
<properties>
1618
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1719
<maven.compiler.source>1.7</maven.compiler.source>
1820
<maven.compiler.target>1.7</maven.compiler.target>
21+
<jar.finalName>${project.name}</jar.finalName>
1922
</properties>
2023

2124
<dependencies>
@@ -74,7 +77,7 @@
7477

7578
<resources>
7679
<resource>
77-
<directory>src/res</directory>
80+
<directory>res</directory>
7881
</resource>
7982
</resources>
8083
</build>
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Hello world!
77
*
88
*/
9-
public class App
9+
public class Main
1010
{
1111
public static void main( String[] args ) {
1212
System.out.println(OsUtils.getResource(OsUtils.join("fonts","Roboto-Regular.ttf")));

src/main/java/com/gustavolr/os/OsUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
package com.gustavolr.os;
2-
import java.nio.file.Paths;
32

43
public class OsUtils
54
{
65

76
public static String join(String... s) {
8-
return Paths.get("",s).toString();
7+
return java.nio.file.Paths.get("",s).toString();
98
}
109

1110
public static java.net.URL getResource(String path) {

0 commit comments

Comments
 (0)