[DEV] remove dependency with scenarium ==> dead code

This commit is contained in:
Edouard DUPIN 2022-10-01 15:29:19 +02:00
parent 003d2c9198
commit 6ae615a870
10 changed files with 15 additions and 144 deletions

View File

@ -11,11 +11,6 @@
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/scenarium-logger">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
@ -27,5 +22,10 @@
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/atriasoft-reggol">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="out/eclipse/classes"/>
</classpath>

View File

@ -23,12 +23,12 @@
</natures>
<filteredResources>
<filter>
<id>1646149232198</id>
<id>1664626602847</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
<arguments>1.0-name-matches-false-true-node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>

View File

@ -1,105 +0,0 @@
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java library project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.8.3/userguide/building_java_projects.html
*/
import com.github.jk1.license.render.*
plugins {
id 'java-library'
id 'com.adarshr.test-logger' version '3.0.0'
id "com.github.spotbugs" version "4.7.0"
}
sourceCompatibility = 15
tasks.withType(JavaCompile) {
options.compilerArgs += '--enable-preview'
}
tasks.withType(Test) {
jvmArgs += "--enable-preview"
}
sourceSets {
main {
buildDir 'out/gradle'
java {
srcDir 'src'
}
resources {
srcDir 'resources'
}
version = rootProject.file('etk/version.txt').text.trim()
}
test {
java {
srcDir 'test/src'
}
resources {
srcDir 'test/resources'
}
}
}
repositories {
// Use JCenter for resolving dependencies.
jcenter()
google()
}
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
// Use JUnit Jupiter Engine for testing.
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
implementation group: 'com.google.code.findbugs', name: 'annotations', version: '3.0.1'
compile project(':scenarium-logger')
}
tasks.named('test') {
// Use junit platform for unit tests.
useJUnitPlatform()
}
tasks.named('jar') {
manifest {
attributes('Implementation-Title': project.name,
'Implementation-Version': project.version)
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
testlogger {
showFullStackTraces true
showSimpleNames true
// pick a theme - mocha, standard, plain, mocha-parallel, standard-parallel or plain-parallel
theme 'mocha'
}
artifacts {
archives sourcesJar
archives javadocJar
}
jar {
manifest {
attributes 'Implementation-Title': 'Ewol tool Kit (ETK)', 'Implementation-Version': version
}
}

22
etk.iml
View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="logger" exported="" />
<orderEntry type="library" scope="TEST" name="org.junit.jupiter:junit-jupiter-api:5.7.1" level="project" />
<orderEntry type="module-library" exported="">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/spotbugs-annotations-4.2.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>

View File

@ -1,2 +0,0 @@
rootProject.name = 'etk'

View File

@ -7,6 +7,6 @@ open module org.atriasoft.etk {
exports org.atriasoft.etk.math;
exports org.atriasoft.etk.util;
requires transitive io.scenarium.logger;
requires transitive org.atriasoft.reggol;
requires com.github.spotbugs.annotations;
}

View File

@ -1,7 +1,7 @@
package org.atriasoft.etk.internal;
import io.scenarium.logger.LogLevel;
import io.scenarium.logger.Logger;
import org.atriasoft.reggol.LogLevel;
import org.atriasoft.reggol.Logger;
public class Log {
private static final boolean FORCE_ALL = false;

View File

@ -1,7 +1,7 @@
package test.atriasoft.etk;
import io.scenarium.logger.LogLevel;
import io.scenarium.logger.Logger;
import org.atriasoft.reggol.LogLevel;
import org.atriasoft.reggol.Logger;
public class Log {
private static final String LIB_NAME = "etk-test";

View File

@ -1,7 +1,7 @@
package test.atriasoft.etk;
import io.scenarium.logger.LogLevel;
import io.scenarium.logger.Logger;
import org.atriasoft.reggol.LogLevel;
import org.atriasoft.reggol.Logger;
public class Log2 {
private static final String LIB_NAME = "etk-test-2";

View File

@ -11,7 +11,7 @@ package test.atriasoft.etk;
import java.util.ArrayList;
import java.util.List;
import io.scenarium.logger.Logger;
import org.atriasoft.reggol.Logger;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.MethodOrderer.OrderAnnotation;