Use gradle, like everyone else?

deliverable_10
asdfasdf 6 years ago
parent e997c9d00d
commit 71fe283b9f

@ -8,6 +8,16 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library" exported="">
<library name="javax-json">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/javax.json-1.1.4.jar!/" />
<root url="jar://$MODULE_DIR$/lib/javax.json-api-1.1.4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library" scope="TEST">
<library name="JUnit5.4">
<CLASSES>
@ -25,4 +35,4 @@
</library>
</orderEntry>
</component>
</module>
</module>

@ -2,8 +2,10 @@ apply plugin: 'java'
apply plugin: 'checkstyle'
dependencies {
/*
compile 'javax.json:javax.json-api:1.1.4'
compile 'org.glassfish:javax.json:1.1.4'
*/
compile fileTree(include: ['*.jar'], dir:'lib')
testCompile fileTree(include: ['*.jar'], dir:'lib')
testImplementation fileTree(include: ['*.jar'], dir:'lib')
@ -16,9 +18,11 @@ checkstyle {
configFile file('checkstyle.xml')
}
/*
repositories {
mavenCentral()
}
*/
sourceSets {
main {

@ -22,6 +22,8 @@ public class Tui implements Iface, Wobserver {
public Tui() {
stdin = new BufferedReader(new InputStreamReader(System.in));
getMax();
WatchList watch = ListOfWatchList.getList().getWatchList(0);
watch.addObs(this);
//XXX Start ui thread
demo();
}
@ -141,7 +143,7 @@ public class Tui implements Iface, Wobserver {
private void updateWatch() {
WatchList watch = ListOfWatchList.getList().getWatchList(0);
watch.updateList();
watch.updateList();
}
private void printWatchList() {

Loading…
Cancel
Save