-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump kit version from 1.0.0 to 1.1.0
New Features: - Support site specific template feature. - Add leetcode.com template.
- Loading branch information
1 parent
4390382
commit 0522e7a
Showing
9 changed files
with
174 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,25 @@ | ||
## 1.0.0 (19 May 2021) | ||
- The first proper release | ||
# 1.1.0 (5 Sep 2021) | ||
|
||
## New Features | ||
- Add `site` property. | ||
|
||
## Usages | ||
``` | ||
$ ./mvnw -N acmicpc:create -Dproblem=two-sum -Dsite=leetcode.com | ||
``` | ||
|
||
# 1.0.0 (19 May 2021) | ||
|
||
## Usages | ||
- Creating a problem | ||
``` | ||
$ ./mvnw -N acmicpc:create -Dproblem=1234 | ||
``` | ||
- Creating a problem with specific template | ||
``` | ||
$ ./mvnw -N acmicpc:create -Dproblem=1234 -Dtemplate=specific | ||
``` | ||
- Revalidating project | ||
``` | ||
$ ./mvnw -N acmicpc:revalidate | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import java.io.*; | ||
|
||
public class Main { | ||
|
||
public static void main(String[] args) throws Exception { | ||
solve(createReader(), createWriter()); | ||
} | ||
|
||
private static BufferedReader createReader() { | ||
InputStream inputStream = Main.class.getResourceAsStream("SampleData.txt"); | ||
inputStream = (inputStream == null) ? System.in : inputStream; | ||
return new BufferedReader(new InputStreamReader(inputStream)); | ||
} | ||
|
||
private static BufferedWriter createWriter() { | ||
return new BufferedWriter(new OutputStreamWriter(System.out)); | ||
} | ||
|
||
private static void solve(BufferedReader reader, BufferedWriter writer) throws Exception { | ||
String line = null; | ||
while ((line = reader.readLine()) != null) { | ||
// | ||
} | ||
writer.flush(); | ||
writer.close(); | ||
} | ||
|
||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.silentsoft</groupId> | ||
<artifactId>acmicpc-kit</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<relativePath>../../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<groupId>org.silentsoft.acmicpc.problems</groupId> | ||
<artifactId>problem</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
|
||
<build> | ||
<sourceDirectory>${project.basedir}</sourceDirectory> | ||
<resources> | ||
<resource> | ||
<directory>${project.basedir}</directory> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.silentsoft.maven.plugins</groupId> | ||
<artifactId>acmicpc-maven-plugin</artifactId> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class Solution { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import org.junit.jupiter.api.Assertions; | ||
import org.junit.jupiter.api.Test; | ||
|
||
class SolutionTest { | ||
@Test | ||
public void test() { | ||
Solution solution = new Solution(); | ||
//Assertions.assertEquals(/*expected*/, /*actual*/); | ||
//Assertions.assertArrayEquals(/*expected*/, /*actual*/); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.silentsoft</groupId> | ||
<artifactId>acmicpc-kit</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<relativePath>../../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<groupId>org.silentsoft.acmicpc.problems</groupId> | ||
<artifactId>problem</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.junit.platform</groupId> | ||
<artifactId>junit-platform-launcher</artifactId> | ||
<version>1.7.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
<version>5.7.2</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<sourceDirectory>${project.basedir}</sourceDirectory> | ||
<resources> | ||
<resource> | ||
<directory>${project.basedir}</directory> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.silentsoft.maven.plugins</groupId> | ||
<artifactId>acmicpc-maven-plugin</artifactId> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |