Skip to content

Commit

Permalink
Convert CRLF line endings.
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrik committed Feb 8, 2024
1 parent 583dabe commit 620b36c
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 62 deletions.
84 changes: 42 additions & 42 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
plugins {
alias libs.plugins.versions
alias libs.plugins.dependencycheck
}

def isNonStable = { String version ->
def stableKeyword = ['RELEASE', 'FINAL', 'GA'].any { it -> version.toUpperCase().contains(it) }
def regex = /^[0-9,.v-]+(-r)?$/
return !stableKeyword && !(version ==~ regex)
}

dependencyCheck {
scanConfigurations = ['runtimeClasspath']
}

subprojects {
apply plugin: "java"
apply plugin: "eclipse"
apply plugin: 'com.github.ben-manes.versions'

java {
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
}

repositories {
mavenCentral()
}

// Reject all non stable versions in dependency check
tasks.named("dependencyUpdates").configure {
rejectVersionIf {
isNonStable(it.candidate.version)
}
}

// Standard libraries added to all projects
dependencies {
testImplementation libs.junit
}
}

plugins {
alias libs.plugins.versions
alias libs.plugins.dependencycheck
}

def isNonStable = { String version ->
def stableKeyword = ['RELEASE', 'FINAL', 'GA'].any { it -> version.toUpperCase().contains(it) }
def regex = /^[0-9,.v-]+(-r)?$/
return !stableKeyword && !(version ==~ regex)
}

dependencyCheck {
scanConfigurations = ['runtimeClasspath']
}

subprojects {
apply plugin: "java"
apply plugin: "eclipse"
apply plugin: 'com.github.ben-manes.versions'

java {
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
}

repositories {
mavenCentral()
}

// Reject all non stable versions in dependency check
tasks.named("dependencyUpdates").configure {
rejectVersionIf {
isNonStable(it.candidate.version)
}
}

// Standard libraries added to all projects
dependencies {
testImplementation libs.junit
}
}

8 changes: 4 additions & 4 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include 'verkeersdrukte'

rootProject.name = 'verkeersdrukte'

include 'verkeersdrukte'

rootProject.name = 'verkeersdrukte'

32 changes: 16 additions & 16 deletions verkeersdrukte/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
apply plugin: "application"

application {
mainClass = 'nl.bertriksikken.verkeersdrukte.app.VerkeersDrukteApp'
}

dependencies {
implementation libs.bundles.retrofit
implementation libs.bundles.jackson
implementation libs.bundles.dropwizard
implementation libs.jdbf

// https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse
implementation libs.jersey.media.sse
}

apply plugin: "application"

application {
mainClass = 'nl.bertriksikken.verkeersdrukte.app.VerkeersDrukteApp'
}

dependencies {
implementation libs.bundles.retrofit
implementation libs.bundles.jackson
implementation libs.bundles.dropwizard
implementation libs.jdbf

// https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse
implementation libs.jersey.media.sse
}

0 comments on commit 620b36c

Please sign in to comment.