Skip to content

Commit d6bdd8e

Browse files
author
Abhishek Prasad Gupta
committed
initial commit
0 parents  commit d6bdd8e

3 files changed

Lines changed: 76 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.vscode
2+
3+
target

pom.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>io.github.abhipdgupta</groupId>
5+
<artifactId>try-util</artifactId>
6+
<packaging>jar</packaging>
7+
<version>1.0-SNAPSHOT</version>
8+
<name>try-util</name>
9+
<url>http://maven.apache.org</url>
10+
<properties>
11+
<spotless.version>3.1.0</spotless.version>
12+
</properties>
13+
<dependencies>
14+
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
15+
<dependency>
16+
<groupId>org.junit.jupiter</groupId>
17+
<artifactId>junit-jupiter-api</artifactId>
18+
<version>6.0.1</version>
19+
<scope>test</scope>
20+
</dependency>
21+
</dependencies>
22+
<build>
23+
<plugins>
24+
<plugin>
25+
<groupId>com.diffplug.spotless</groupId>
26+
<artifactId>spotless-maven-plugin</artifactId>
27+
<version>${spotless.version}</version>
28+
<configuration>
29+
<ratchetFrom>origin/main</ratchetFrom>
30+
<formats>
31+
<format>
32+
<includes>
33+
<include>.gitattributes</include>
34+
<include>.gitignore</include>
35+
</includes>
36+
<trimTrailingWhitespace/>
37+
<endWithNewline/>
38+
<indent>
39+
<tabs>true</tabs>
40+
<spacesPerTab>4</spacesPerTab>
41+
</indent>
42+
</format>
43+
</formats>
44+
<java>
45+
<googleJavaFormat>
46+
<version>1.8</version>
47+
<style>AOSP</style>
48+
<reflowLongStrings>true</reflowLongStrings>
49+
<formatJavadoc>false</formatJavadoc>
50+
</googleJavaFormat>
51+
52+
<licenseHeader>
53+
<content>/* (C)$YEAR */</content>
54+
</licenseHeader>
55+
</java>
56+
</configuration>
57+
</plugin>
58+
</plugins>
59+
</build>
60+
</project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package io.github.abhipdgupta;
2+
3+
/**
4+
* Hello world!
5+
*
6+
*/
7+
public class App
8+
{
9+
public static void main( String[] args )
10+
{
11+
System.out.println( "Hello World!" );
12+
}
13+
}

0 commit comments

Comments
 (0)