Commit 8f19cc5e authored by Filip Filchev's avatar Filip Filchev
Browse files

Finalize Gradle Homework

parent e9df4b8e
Showing with 6 additions and 18 deletions
+6 -18
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
// Apply the java Plugin to add support for Java.
java
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
constraints {
// Define dependency versions as constraints
implementation("org.apache.commons:commons-text:1.10.0")
}
// Use JUnit Jupiter for testing.
testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
}
tasks.named<Test>("test") {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
......@@ -23,4 +23,4 @@ public interface AdministratorService {
GradeTable dismiss(String studentId, String courseId)
throws IDableDoesNotExistException, StudentNotInCourseException, GradeTableDoesNotExistsException;
}
}
\ No newline at end of file
......@@ -8,7 +8,6 @@ import studentmanagement.service.generic.exception.IDableDoesNotExistException;
import studentmanagement.service.id.generator.IdGenerator;
import studentmanagement.service.id.generator.IdGeneratorFactory;
import studentmanagement.service.teacher.TeacherService;
import studentmanagement.service.teacher.exception.TeacherDoesNotExistException;
public class DefaultCourseService extends DefaultService<Course> implements CourseService {
private final TeacherService teacherService;
......
......@@ -17,4 +17,4 @@ public interface Service<T extends IDable> {
T remove(String id) throws IDableDoesNotExistException;
Collection<T> getAll();
}
}
\ No newline at end of file
package studentmanagement.data.generic;
import studentmanagement.model.IDable;
import java.util.Collection;
......
......@@ -17,4 +17,4 @@ public interface Repository<T extends IDable> {
Optional<T> remove(String id);
Collection<T> getAll();
}
}
\ No newline at end of file
......@@ -3,7 +3,6 @@ plugins {
java
}
//dependencies {
// implementation("org.apache.commons:commons-text")
// implementation(project(":data"))
//}
dependencies {
implementation("org.apache.commons:commons-text")
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment