Initial commit.
This commit is contained in:
commit
f48a7aae94
62 changed files with 2925 additions and 0 deletions
11
buildSrc/.project
Normal file
11
buildSrc/.project
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>buildSrc</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
13
buildSrc/.settings/org.eclipse.buildship.core.prefs
Normal file
13
buildSrc/.settings/org.eclipse.buildship.core.prefs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
arguments=
|
||||
auto.sync=false
|
||||
build.scans.enabled=false
|
||||
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
|
||||
connection.project.dir=
|
||||
eclipse.preferences.version=1
|
||||
gradle.user.home=
|
||||
java.home=
|
||||
jvm.arguments=
|
||||
offline.mode=false
|
||||
override.workspace.settings=false
|
||||
show.console.view=true
|
||||
show.executions.view=true
|
||||
24
buildSrc/.settings/org.eclipse.jdt.core.prefs
Normal file
24
buildSrc/.settings/org.eclipse.jdt.core.prefs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#
|
||||
#Sun May 07 20:03:15 CEST 2023
|
||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.nullReference=warning
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
|
||||
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
|
||||
org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
|
||||
org.eclipse.jdt.core.compiler.source=17
|
||||
org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
|
||||
org.eclipse.jdt.core.compiler.release=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
|
||||
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.compliance=17
|
||||
3
buildSrc/.settings/org.eclipse.jdt.groovy.core.prefs
Normal file
3
buildSrc/.settings/org.eclipse.jdt.groovy.core.prefs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
eclipse.preferences.version=1
|
||||
groovy.compiler.level=40
|
||||
groovy.script.filters=**/*.dsld,y,**/*.gradle,n
|
||||
39
buildSrc/build.gradle
Normal file
39
buildSrc/build.gradle
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* This project uses @Incubating APIs which are subject to change.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
// Support convention plugins written in Groovy. Convention plugins
|
||||
// are build scripts in 'src/main' that automatically become available
|
||||
// as plugins in the main build.
|
||||
id 'groovy-gradle-plugin'
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Use the plugin portal to apply community plugins in convention plugins.
|
||||
gradlePluginPortal()
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
groovy {
|
||||
srcDirs = ['src']
|
||||
}
|
||||
}
|
||||
|
||||
test {
|
||||
groovy {
|
||||
srcDirs = ['test']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
}
|
||||
*/
|
||||
7
buildSrc/settings.gradle
Normal file
7
buildSrc/settings.gradle
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* This settings file is used to specify which projects to include in your build-logic build.
|
||||
*/
|
||||
|
||||
rootProject.name = 'buildSrc'
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* This project uses @Incubating APIs which are subject to change.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
// Apply the common convention plugin for shared build configuration between library and application projects.
|
||||
id 'org.jdrupes.vmoperator.java-common-conventions'
|
||||
|
||||
// Apply the application plugin to add support for building a CLI application in Java.
|
||||
id 'application'
|
||||
}
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* This project uses @Incubating APIs which are subject to change.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
// Apply the java Plugin to add support for Java.
|
||||
id 'java'
|
||||
|
||||
// Apply eclipse plugin
|
||||
id 'eclipse'
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Use Maven Central for resolving dependencies.
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
constraints {
|
||||
// Define dependency versions as constraints
|
||||
// implementation 'org.apache.commons:commons-text:1.9'
|
||||
}
|
||||
}
|
||||
|
||||
// Configure sensible layout
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDirs = ['src']
|
||||
}
|
||||
resources {
|
||||
srcDirs = ['resources']
|
||||
}
|
||||
}
|
||||
|
||||
test {
|
||||
java {
|
||||
srcDirs = ['test']
|
||||
}
|
||||
resources {
|
||||
srcDirs = ['test-resources']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
}
|
||||
|
||||
eclipse {
|
||||
|
||||
project {
|
||||
file {
|
||||
// closure executed after .project content is loaded from existing file
|
||||
// and before gradle build information is merged
|
||||
beforeMerged { project ->
|
||||
project.natures.clear()
|
||||
project.buildCommands.clear()
|
||||
}
|
||||
|
||||
project.natures += 'org.eclipse.buildship.core.gradleprojectnature'
|
||||
project.buildCommand 'org.eclipse.buildship.core.gradleprojectbuilder'
|
||||
|
||||
if (plugins.hasPlugin('java')) {
|
||||
project.buildCommand 'org.eclipse.jdt.core.javabuilder'
|
||||
project.natures += 'net.sf.eclipsecs.core.CheckstyleNature'
|
||||
project.buildCommand 'net.sf.eclipsecs.core.CheckstyleBuilder'
|
||||
project.natures += 'ch.acanda.eclipse.pmd.builder.PMDNature'
|
||||
project.buildCommand 'ch.acanda.eclipse.pmd.builder.PMDBuilder'
|
||||
}
|
||||
|
||||
if (plugins.hasPlugin('biz.aQute.bnd')) {
|
||||
project.natures += 'bndtools.core.bndnature'
|
||||
project.buildCommand 'bndtools.core.bndbuilder'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
classpath {
|
||||
downloadJavadoc = true
|
||||
downloadSources = true
|
||||
}
|
||||
|
||||
jdt {
|
||||
file {
|
||||
withProperties { properties ->
|
||||
def formatterPrefs = new Properties()
|
||||
rootProject.file("gradle/org.eclipse.jdt.core.formatter.prefs")
|
||||
.withInputStream { formatterPrefs.load(it) }
|
||||
properties.putAll(formatterPrefs)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
testing {
|
||||
suites {
|
||||
// Configure the built-in test suite
|
||||
test {
|
||||
// Use JUnit Jupiter test framework
|
||||
useJUnitJupiter('5.9.1')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* This project uses @Incubating APIs which are subject to change.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
// Apply the common convention plugin for shared build configuration between library and application projects.
|
||||
id 'org.jdrupes.vmoperator.java-common-conventions'
|
||||
|
||||
// Apply the java-library plugin for API and implementation separation.
|
||||
id 'java-library'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue