Skip to content
Merged
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
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Normalize text files to LF in the repository
* text=auto

# Scripts that must keep platform-specific line endings
gradlew text eol=lf
*.bat text eol=crlf

# Test fixtures (encodings, binary samples) must stay byte-for-byte intact
JavaReleases/src/test/resources/** -text
1 change: 1 addition & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
JavaReleases/build/test-results/test/*.xml
DesignPatterns/build/test-results/test/*.xml
CleanCode/build/test-results/test/*.xml
Common/build/test-results/test/*.xml

- name: Set badge color
shell: bash
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,7 @@ bin/

### Mac OS ###
.DS_Store
/HelloWorld.class

### Leftovers of Java6#testJavaDynamicCompilation when it fails before cleanup ###
/JavaReleases/HelloWorld.java
/JavaReleases/HelloWorld.class
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ subprojects {
version = rootProject.version

java {
sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_25
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}

dependencies {
testImplementation platform('org.junit:junit-bom:5.11.3')
testImplementation platform('org.junit:junit-bom:6.1.3')
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
Expand Down
4 changes: 4 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
}

rootProject.name = 'JavaLab'
include 'JavaReleases', 'FirstSteps', 'DesignPatterns', 'CleanCode','Common'
Loading