-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
404a67f
commit 44e791b
Showing
7 changed files
with
119 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
plugins { | ||
id 'java' | ||
id 'org.springframework.boot' | ||
id 'io.spring.dependency-management' | ||
id 'com.github.johnrengelman.shadow' | ||
} | ||
|
||
// group = 'selineer' // Package-Name | ||
// version = '1.0.0' | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
dependencies { | ||
// Importiere die Plattform für zentrale Dependency Constraints | ||
implementation platform(project(':dependency-platform')) | ||
|
||
// Lokale Projektabhängigkeiten | ||
implementation project(':playwright') | ||
implementation project(':cdp4j') | ||
implementation project(':adapter') | ||
|
||
// Abhängigkeiten ohne Versionsnummern (Versionen kommen aus der Plattform) | ||
implementation 'org.springframework.boot:spring-boot-starter' | ||
implementation 'org.java-websocket:Java-WebSocket' | ||
implementation 'com.google.code.gson:gson' | ||
|
||
// Optional: Lombok für Boilerplate-Reduktion | ||
compileOnly 'org.projectlombok:lombok' | ||
annotationProcessor 'org.projectlombok:lombok' | ||
|
||
// Optional: JUnit für Tests | ||
testImplementation 'junit:junit' | ||
} | ||
|
||
// tasks.named('jar') { | ||
// manifest { | ||
// attributes( | ||
// // Vermeide Aufrufkonventionen wie "java -cp o.jar selineer.Main" | ||
// // Stattdessen: "java -jar o.jar" | ||
// 'Main-Class': 'selineer.app.Main' // Manifest-Eintrag | ||
// ) | ||
// } | ||
// } | ||
|
||
// Für Start mit Spring Boot: | ||
// tasks.named('bootJar') { | ||
// manifest { | ||
// attributes( | ||
// 'Main-Class': 'org.springframework.boot.loader.PropertiesLauncher' | ||
// ) | ||
// } | ||
// } |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
plugins { | ||
id 'java-platform' | ||
} | ||
|
||
javaPlatform { | ||
allowDependencies() // Erlaubt die Nutzung von externen BOMs (optional) | ||
} | ||
|
||
dependencies { | ||
// Spring Boot BOM (optional) | ||
api platform('org.springframework.boot:spring-boot-dependencies:2.5.14') | ||
|
||
constraints { | ||
// Abhängigkeiten aus dem `adapter`-Projekt | ||
api 'org.springframework.boot:spring-boot-starter:2.5.14' | ||
api 'org.java-websocket:Java-WebSocket:1.5.2' | ||
api 'com.google.code.gson:gson:2.8.9' | ||
api 'junit:junit:4.13.2' | ||
api 'org.projectlombok:lombok:1.18.28' | ||
|
||
// Weitere optionale Abhängigkeiten auskommentiert in `adapter` | ||
// api 'org.apache.commons:commons-lang3:3.12.0' | ||
// api 'com.google.guava:guava:30.1.1-jre' | ||
// api 'io.webfolder:cdp4j:4.8.4' | ||
// api 'org.seleniumhq.selenium:selenium-java:3.141.59' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
plugins { | ||
id 'java' | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
pluginManagement { | ||
plugins { | ||
id 'org.springframework.boot' version '2.5.14' | ||
id 'io.spring.dependency-management' version '1.0.15.RELEASE' | ||
id 'com.github.johnrengelman.shadow' version '8.1.1' | ||
} | ||
|
||
repositories { | ||
gradlePluginPortal() | ||
} | ||
} | ||
|
||
rootProject.name = 'Selineer' | ||
|
||
include 'adapter', 'cdp4j' | ||
include 'dependency-platform' | ||
include 'playwright', 'cdp4j', 'adapter', 'app' | ||
|
||
|
||
|