Skip to content

Commit

Permalink
Initialize template
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstaeding committed May 4, 2023
1 parent 3e7582e commit 92598f0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 28 deletions.
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
version = file("version").readLines().first()

jagr {
assignmentId.set("h_id_")
assignmentId.set("h06")
submissions {
val main by creating {
studentId.set("ab12cdef")
Expand All @@ -18,15 +18,15 @@ jagr {
}
graders {
val graderPublic by creating {
graderName.set("_name_-Public")
rubricProviderName.set("h_id_.H_id__RubricProvider")
graderName.set("H06-Public")
rubricProviderName.set("h06.H06_RubricProvider")
configureDependencies {
implementation(libs.algoutils.tutor)
}
}
val graderPrivate by creating {
parent(graderPublic)
graderName.set("_name_-Private")
graderName.set("H06-Private")
}
}
}
Expand All @@ -38,7 +38,7 @@ dependencies {
}

application {
mainClass.set("h_id_.Main")
mainClass.set("h06.Main")
}

tasks {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ dependencyResolutionManagement {
}
}

rootProject.name = "_name_-Root"
rootProject.name = "H06-Root"
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package h_id_;
package h06;

import org.sourcegrade.jagr.api.rubric.Rubric;
import org.sourcegrade.jagr.api.rubric.RubricProvider;

public class H_id__RubricProvider implements RubricProvider {
public class H06_RubricProvider implements RubricProvider {

public static final Rubric RUBRIC = Rubric.builder()
.title("H_id_")
.title("H06")
.build();

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package h_id_;
package h06;

/**
* Main entry point in executing the program.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package h_id_;
package h06;

import org.junit.jupiter.api.Test;

Expand Down
17 changes: 0 additions & 17 deletions template/config.json

This file was deleted.

0 comments on commit 92598f0

Please sign in to comment.