Skip to content

Commit 01b72c1

Browse files
committed
Add sample
1 parent 12aaa3b commit 01b72c1

File tree

5 files changed

+27
-1
lines changed

5 files changed

+27
-1
lines changed

.idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample/build.gradle

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
plugins {
2+
id 'groovy'
3+
id 'java'
4+
}
5+
6+
group 'lv.id.jc'
7+
version '1.0'
8+
9+
repositories {
10+
mavenCentral()
11+
}
12+
13+
dependencies {
14+
implementation 'org.codehaus.groovy:groovy-all:3.0.5'
15+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
16+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
17+
}
18+
19+
test {
20+
useJUnitPlatform()
21+
}

src/main/java/lv/id/jc/AppExample.java renamed to sample/src/main/java/lv/id/jc/algorithm/AppExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package lv.id.jc;
1+
package lv.id.jc.algorithm;
22

33
import lv.id.jc.algorithm.graph.BreadthFirstSearch;
44
import lv.id.jc.algorithm.graph.DijkstrasAlgorithm;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module search.algorithm.sample {
2+
requires lv.id.jc.algorithm;
3+
}

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
rootProject.name = 'search-algorithm'
2+
include 'sample'
23

0 commit comments

Comments
 (0)