Skip to content
Snippets Groups Projects
Commit 7e4e7b04 authored by Guyslain's avatar Guyslain
Browse files

update 2023

parent 14cad9b2
No related branches found
No related tags found
No related merge requests found
...@@ -5,10 +5,10 @@ plugins { ...@@ -5,10 +5,10 @@ plugins {
application { application {
mainClass = 'fr.univamu.App' mainClass.set('fr.univamu.App')
} }
group 'org.example' group 'fr.univamu'
version '1.0-SNAPSHOT' version '1.0-SNAPSHOT'
repositories { repositories {
......
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
package fr.univamu; package fr.univamu;
import fr.univamu.geo.Shape; import fr.univamu.geometry.Shape;
import fr.univamu.svg.SvgElement; import fr.univamu.svg.SvgElement;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
...@@ -18,9 +18,9 @@ public class App { ...@@ -18,9 +18,9 @@ public class App {
public static void write(Shape shape, String filepath) throws FileNotFoundException { public static void write(Shape shape, String filepath) throws FileNotFoundException {
makeSvg(shape) makeSvg(shape)
// .add(tag("stroke","black")) .add(tag("stroke","black"))
// .add(tag("stroke-width",0.03)) .add(tag("stroke-width",0.03))
// .add(tag("fill","lightgray")) .add(tag("fill","lightgray"))
.toFile(filepath); .toFile(filepath);
} }
......
package fr.univamu.geometry;
public interface Shape {
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment