Skip to content
Snippets Groups Projects
Commit ebaefbc4 authored by Hallvard Trætteberg's avatar Hallvard Trætteberg
Browse files

Initial todolist-example

parent cb692466
No related branches found
No related tags found
No related merge requests found
FROM gitpod/workspace-full-vnc
USER gitpod
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh \
&& sdk install java 15.0.1.j9-adpt \
&& sdk default java 15.0.1.j9-adpt"
image:
file: .gitpod.Dockerfile
tasks:
- init: sdk use java 15.0.1.j9-adpt
command: 'echo "TODO: Replace with command to start project"'
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://gitlab.stud.idi.ntnu.no/tdt4100/v2021/students)
# Student-repo TDT4100 V2021
Dette repoet inneholder prosjekter for bruk i faget TDT4100 - Objektorientert Programmering.
......@@ -7,3 +9,4 @@ Følgende prosjekter er definert:
* __minegenkode__: Her kan du lagre din egen kode, som ikke nødvendigvis har noe med faget å gjøre
* __lf__: Her kommer løsningsforslag for øvingene
* __ovinger__: Her skal du skrive kode for øvingene i faget. Tester for øvingene kommer også her.
* __todolist-example__: Eksempel på mini-app-prosjekt
<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>
<groupId>tdt4100-v2021</groupId>
<artifactId>todolist-example</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<!-- JavaFX FXML -->
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>16-ea+5</version>
</dependency>
<!-- JUnit 5 -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.7.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>15</release>
<compilerArgs>
--enable-preview
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<argLine>--enable-preview</argLine>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
/**
* @author hal
*
*/
open module todolist {
requires javafx.base;
requires javafx.controls;
requires javafx.fxml;
requires javafx.graphics;
}
package todolist.model;
public class TodoList {
private String name;
private List<String> entries;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment