Skip to content

Commit 262b4cf

Browse files
committed
feat:config
1 parent c12548c commit 262b4cf

29 files changed

+443
-6267
lines changed

lesson_02/quiz_java/.editorconfig

Lines changed: 0 additions & 8 deletions
This file was deleted.

lesson_02/quiz_java/.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

lesson_02/quiz_java/.gitattributes

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+
10+
# Binary files should be left untouched
11+
*.jar binary
12+

lesson_02/quiz_java/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Ignore Gradle project-specific cache directory
2+
.gradle
3+
4+
# Ignore Gradle build output directory
5+
build

lesson_02/quiz_java/.prettierignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

lesson_02/quiz_java/.prettierrc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
* This file was generated by the Gradle 'init' task.
3+
*
4+
* This generated file contains a sample Java application project to get you started.
5+
* For more details on building Java & JVM projects, please refer to https://docs.gradle.org/9.0.0/userguide/building_java_projects.html in the Gradle documentation.
6+
*/
7+
plugins {
8+
java
9+
id("org.springframework.boot") version "3.1.0"
10+
id("io.spring.dependency-management") version "1.1.0"
11+
application
12+
}
13+
14+
15+
java {
16+
toolchain {
17+
languageVersion.set(JavaLanguageVersion.of(21))
18+
}
19+
}
20+
21+
repositories {
22+
mavenCentral()
23+
}
24+
25+
dependencies {
26+
implementation("org.apache.commons:commons-text:1.10.0")
27+
implementation(project(":instructional-lib"))
28+
implementation("org.springframework.boot:spring-boot-starter")
29+
testImplementation("org.springframework.boot:spring-boot-starter-test")
30+
31+
}
32+
33+
34+
35+
application {
36+
// Define the main class for the application.
37+
mainClass.set("org.example.Lesson2")
38+
}
39+
40+
tasks.named<Test>("test") {
41+
// Use JUnit Platform for unit tests.
42+
useJUnitPlatform()
43+
}

lesson_02/quiz_java/src/lesson2.java renamed to lesson_02/quiz_java/app/src/main/java/org/example/lesson2.java

File renamed without changes.

lesson_02/quiz_java/src/lesson2test.java renamed to lesson_02/quiz_java/app/src/test/java/org/example/lesson2test.java

File renamed without changes.

lesson_02/quiz_java/quiz.yaml renamed to lesson_02/quiz_java/app/src/test/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ quiz:
1111
- $2y$10$LvnU8fBR2ABdf2/gatkW1e1n5XcFQWSE6QfcUjIMo2g8Gu6p1NPJu #7
1212
- $2y$10$DQUbiJqDiMpypZ1FEwK1QejNDwk05F6suGWj6PdEowOvvsoLYGzZy #8
1313
- $2y$10$hzT0JgkSPhMzeuqK4VnD1eoNYkCZ.bg.QL3.VF0vJrmyceWq3bHgC #9
14-
- $2y$10$qyOdRBWT8MO.naUyhZRMr.VIy1NkxDY.1WvbnlTu2bcXkgTnpCBH2 #10
14+
- $2y$10$qyOdRBWT8MO.naUyhZRMr.VIy1NkxDY.1WvbnlTu2bcXkgTnpCBH2 #10

0 commit comments

Comments
 (0)