Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions Task_2_4_1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
*.jar
out/
!**/src/main/**/out/
!**/src/test/**/out/

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
4 changes: 4 additions & 0 deletions Task_2_4_1/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions Task_2_4_1/.idea/artifacts/Task_2_4_1_jar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions Task_2_4_1/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Task_2_4_1/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Task_2_4_1/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions Task_2_4_1/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
plugins {
id 'java'
id 'groovy'
id 'application'
id 'com.gradleup.shadow' version '8.3.0'
}

group = 'ru.nsu.nmashkin.task241'
version = '1.0-SNAPSHOT'

repositories {
mavenCentral()
}

dependencies {
implementation 'org.codehaus.groovy:groovy:3.0.19'
implementation 'org.codehaus.groovy:groovy-templates:3.0.19'

testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}

test {
useJUnitPlatform()
}

application {
mainClass = 'ru.nsu.nmashkin.task241.Main'
}

sourceSets {
main {
// Отдаём все исходники компилятору Groovy. Он умеет компилировать и Java.
groovy {
srcDirs = ['src/main/groovy', 'src/main/java']
}
// Отключаем отдельный javac, чтобы не было конфликта и циклов
java {
srcDirs = []
}
}
}

tasks.named('test') {
useJUnitPlatform()
}
10 changes: 10 additions & 0 deletions Task_2_4_1/config/groups.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
group("24213") {
IlyaStub("Ilya Stubarev", "https://github.com/IlyaStub/OOP")
"7AD0VNIK"("Klim Sadov", "https://github.com/7AD0VNIK/OOP")
aelsi2("Andrey Eliseev", "https://github.com/aelsi2/OOP")
Matvey("Matvey Solovev", "https://github.com/fresh-ops/OOP")
}

group("24214") {
LookAsLukas("Mashkin Nikolay", "https://github.com/LookAsLukas/OOP")
}
10 changes: 10 additions & 0 deletions Task_2_4_1/config/tasks.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tasks {
Task_1_2_1("Graph bs", 3, "01.11.2025", "08.11.2025")
Task_1_1_1("IDKlol", 1, "01.09.2025", "08.09.2025")
}

criteria {
excellent 4
goida 2
loh 1
}
21 changes: 21 additions & 0 deletions Task_2_4_1/config/test_check.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
importConfig 'config/tasks.groovy'
importConfig 'config/groups.groovy'

checkpoints {
oct "01.10.2025"
lol "01.01.2026"
}

points {
IlyaStub (-67)
"7AD0VNIK" (67)
aelsi2 (0)
Matvey (1)
LookAsLukas 999999
}

check {
LookAsLukas "Task_1_1_1"
LookAsLukas "Task_1_2_1"
aelsi2 "Task_1_1_1"
}
6 changes: 6 additions & 0 deletions Task_2_4_1/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Thu Apr 23 09:41:48 NOVT 2026
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading
Loading