Skip to content

Commit

Permalink
make the structurizr-url public
Browse files Browse the repository at this point in the history
  • Loading branch information
klu2 committed Apr 27, 2022
1 parent 9a5e190 commit 622ee9e
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

description = "Collection of icons for use in architecture diagrams, documentation and training"
group = "io.cloudflight.architectureicons"
version = "0.2.0"
version = "0.2.1"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class AzurePlantUmlIconFetcher {
file.appendLine(" */")
file.appendLine("public class $className {")
file.appendLine(" private $className() {}")
file.appendLine(" private static final String STRUCTURIZR_THEME_URL = \"https://raw.githubusercontent.com/cloudflightio/architecture-icons/\" + $className.class.getPackage().getImplementationVersion() + \"/structurizr-themes/$className.json\";")
file.appendLine(" public static final String STRUCTURIZR_THEME_URL = \"https://raw.githubusercontent.com/cloudflightio/architecture-icons/\" + $className.class.getPackage().getImplementationVersion() + \"/structurizr-themes/$className.json\";")
file.appendLine(" private static final String ROOT = \"$rootUrl\";")
file.appendLine(" private static final String COMMONS = ROOT + \"/AzureCommon.puml\";")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class PlantUmlIconFontSpritesFetcher {
file.appendLine(" */")
file.appendLine("public class $className {")
file.appendLine(" private $className() {}")
file.appendLine(" private static final String STRUCTURIZR_THEME_URL = \"https://raw.githubusercontent.com/cloudflightio/architecture-icons/\" + $className.class.getPackage().getImplementationVersion() + \"/structurizr-themes/$className.json\";")
file.appendLine(" public static final String STRUCTURIZR_THEME_URL = \"https://raw.githubusercontent.com/cloudflightio/architecture-icons/\" + $className.class.getPackage().getImplementationVersion() + \"/structurizr-themes/$className.json\";")
file.appendLine(" private static final String ROOT = \"$rootUrl\";")
lines.subList(6, lines.size).forEach { line ->
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/
public class AzureIcons {
private AzureIcons() {}
private static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + AzureIcons.class.getPackage().getImplementationVersion() + "/structurizr-themes/AzureIcons.json";
public static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + AzureIcons.class.getPackage().getImplementationVersion() + "/structurizr-themes/AzureIcons.json";
private static final String ROOT = "https://raw.githubusercontent.com/plantuml-stdlib/Azure-PlantUML/master/dist";
private static final String COMMONS = ROOT + "/AzureCommon.puml";
public static class AIMachineLearning {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/
public class AzureMonoIcons {
private AzureMonoIcons() {}
private static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + AzureMonoIcons.class.getPackage().getImplementationVersion() + "/structurizr-themes/AzureMonoIcons.json";
public static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + AzureMonoIcons.class.getPackage().getImplementationVersion() + "/structurizr-themes/AzureMonoIcons.json";
private static final String ROOT = "https://raw.githubusercontent.com/plantuml-stdlib/Azure-PlantUML/master/dist";
private static final String COMMONS = ROOT + "/AzureCommon.puml";
public static class AIMachineLearning {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class DevIcons {
private DevIcons() {}
private static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + DevIcons.class.getPackage().getImplementationVersion() + "/structurizr-themes/DevIcons.json";
public static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + DevIcons.class.getPackage().getImplementationVersion() + "/structurizr-themes/DevIcons.json";
private static final String ROOT = "https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/devicons";
/**
* <img alt="android.png" src="https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/devicons/android.png">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class DevIcons2 {
private DevIcons2() {}
private static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + DevIcons2.class.getPackage().getImplementationVersion() + "/structurizr-themes/DevIcons2.json";
public static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + DevIcons2.class.getPackage().getImplementationVersion() + "/structurizr-themes/DevIcons2.json";
private static final String ROOT = "https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/devicons2";
/**
* <img alt="aarch64.png" src="https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/devicons2/aarch64.png">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class FontAwesome4 {
private FontAwesome4() {}
private static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + FontAwesome4.class.getPackage().getImplementationVersion() + "/structurizr-themes/FontAwesome4.json";
public static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + FontAwesome4.class.getPackage().getImplementationVersion() + "/structurizr-themes/FontAwesome4.json";
private static final String ROOT = "https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/font-awesome";
/**
* <img alt="500px.png" src="https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/font-awesome/500px.png">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class FontAwesome5 {
private FontAwesome5() {}
private static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + FontAwesome5.class.getPackage().getImplementationVersion() + "/structurizr-themes/FontAwesome5.json";
public static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + FontAwesome5.class.getPackage().getImplementationVersion() + "/structurizr-themes/FontAwesome5.json";
private static final String ROOT = "https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/font-awesome-5";
/**
* <img alt="500px.png" src="https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/font-awesome-5/500px.png">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class GovIcons {
private GovIcons() {}
private static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + GovIcons.class.getPackage().getImplementationVersion() + "/structurizr-themes/GovIcons.json";
public static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + GovIcons.class.getPackage().getImplementationVersion() + "/structurizr-themes/GovIcons.json";
private static final String ROOT = "https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/govicons";
/**
* <img alt="18F_logo.png" src="https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/govicons/18F_logo.png">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class Material {
private Material() {}
private static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + Material.class.getPackage().getImplementationVersion() + "/structurizr-themes/Material.json";
public static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + Material.class.getPackage().getImplementationVersion() + "/structurizr-themes/Material.json";
private static final String ROOT = "https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/material";
/**
* <img alt="3d_rotation.png" src="https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/material/3d_rotation.png">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class Weather {
private Weather() {}
private static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + Weather.class.getPackage().getImplementationVersion() + "/structurizr-themes/Weather.json";
public static final String STRUCTURIZR_THEME_URL = "https://raw.githubusercontent.com/cloudflightio/architecture-icons/" + Weather.class.getPackage().getImplementationVersion() + "/structurizr-themes/Weather.json";
private static final String ROOT = "https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/weather";
/**
* <img alt="alien.png" src="https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/weather/alien.png">
Expand Down

0 comments on commit 622ee9e

Please sign in to comment.