From 15248c92c945605b7d8a8556ddf88c800b685ad4 Mon Sep 17 00:00:00 2001 From: Leo Galambos Date: Sun, 12 Apr 2026 13:15:27 +0200 Subject: [PATCH] Eclipse IDE configuration and setup --- .classpath | 16 ++++++ .project | 23 ++++++++ build.gradle | 14 +++-- .../java/org/egothor/stemmer/Compile.java | 53 +++++++++++++++++++ 4 files changed, 98 insertions(+), 8 deletions(-) create mode 100644 .classpath create mode 100644 .project create mode 100644 src/main/java/org/egothor/stemmer/Compile.java diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..d68d234 --- /dev/null +++ b/.classpath @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..633dc14 --- /dev/null +++ b/.project @@ -0,0 +1,23 @@ + + + Radixor + Project Radixor created by Buildship. + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.buildship.core.gradleprojectbuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.buildship.core.gradleprojectnature + + diff --git a/build.gradle b/build.gradle index ee6cd9e..f71e410 100644 --- a/build.gradle +++ b/build.gradle @@ -9,16 +9,14 @@ group = 'org.egothor.stemmer' version = gitVersion(prefix:'release@') pmd { - consoleOutput = true - toolVersion = '7.20.0' - sourceSets = [sourceSets.main] - ruleSetFiles = files(rootProject.file(".ruleset")) + consoleOutput = true + toolVersion = '7.20.0' + sourceSets = [sourceSets.main] + ruleSetFiles = files(rootProject.file(".ruleset")) } -java { - toolchain { - languageVersion = JavaLanguageVersion.of(21) - } +tasks.withType(JavaCompile).configureEach { + options.release = 21 } repositories { diff --git a/src/main/java/org/egothor/stemmer/Compile.java b/src/main/java/org/egothor/stemmer/Compile.java new file mode 100644 index 0000000..202c6d6 --- /dev/null +++ b/src/main/java/org/egothor/stemmer/Compile.java @@ -0,0 +1,53 @@ +/******************************************************************************* + * Copyright (C) 2026, Leo Galambos + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. All advertising materials mentioning features or use of this software must + * display the following acknowledgement: + * This product includes software developed by the Egothor project. + * + * 4. Neither the name of the copyright holder nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + ******************************************************************************/ +package org.egothor.stemmer; + +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * + */ +public class Compile { + private static final Logger LOG = Logger.getLogger(Compile.class.getName()); + + /** + * @param args + */ + public static void main(String[] args) { + LOG.log(Level.FINE, "execute", args); + + } +}