diff --git a/README.md b/README.md index 06591154..5f5bd663 100644 --- a/README.md +++ b/README.md @@ -33,17 +33,19 @@ cd java ./gradlew build ``` -Note: For now, if you want to build the structurizr-dot libs you need to first clone and install (locally) dot-diagram: +Note: For now, if you want to build the structurizr-dot library you'll also need to clone and install [dot-diagram](https://github.com/cyriux/dot-diagram) into your local Maven repository: - git clone git@github.com:cyriux/dot-diagram.git + git clone https://github.com/cyriux/dot-diagram.git cd dot-diagram/dot-diagram/ mvn install -DskipTests=true -The -DskipTests=true is needed as the unit test are failing int he dot-diagram project +The ```-DskipTests=true``` is needed as the unit test are failing in the ```dot-diagram``` project. -Then you can build and install into maven locally by: +If necessary, after building, you can install "Structurizr for Java" into your local Maven repo using: - ./gradlew publishToMavenLocal +``` +./gradlew publishToMavenLocal +``` ## Binaries The Structurizr for Java binaries are hosted on [Bintray](https://bintray.com/structurizr/maven/structurizr-java) and the JCenter repository. diff --git a/build.gradle b/build.gradle index 3cc22d2d..c76eb3af 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,7 @@ subprojects { proj -> repositories { mavenCentral() + mavenLocal() } sourceSets { diff --git a/structurizr-dot/build.gradle b/structurizr-dot/build.gradle index b5d43926..0a4cc5ee 100644 --- a/structurizr-dot/build.gradle +++ b/structurizr-dot/build.gradle @@ -1,9 +1,3 @@ -repositories { - flatDir { - dirs 'lib' - } -} - dependencies { compile project(':structurizr-core') compile 'org.livingdocumentation:dot-diagram:1.0' diff --git a/structurizr-dot/lib/dot-diagram.jar b/structurizr-dot/lib/dot-diagram.jar deleted file mode 100644 index 59b31ed2..00000000 Binary files a/structurizr-dot/lib/dot-diagram.jar and /dev/null differ diff --git a/structurizr-dot/lib/readme.txt b/structurizr-dot/lib/readme.txt deleted file mode 100644 index 3ec93ac3..00000000 --- a/structurizr-dot/lib/readme.txt +++ /dev/null @@ -1 +0,0 @@ -The source code for dot-diagram.jar can be found at https://github.com/cyriux/dot-diagram \ No newline at end of file