hystrix-dashboard icon indicating copy to clipboard operation
hystrix-dashboard copied to clipboard

Wrong setup instruction

Open ChrisDeath opened this issue 7 years ago • 2 comments

Even if it is deprecated you may want to update the setup instructions with the new repo url, just for convenience reasons.

ChrisDeath avatar Mar 19 '18 13:03 ChrisDeath

For anyone who might be having this problem. You need to generate a gradle-wrapper.jar file to be able to follow the instruction. To do it I added the following into my build.gradle

task wrapper(type: Wrapper) {
    gradleVersion = '3.3'
}

I then ran gradle wrapper to generate the .jar file which allowed me to run ./gradlew appRun. I might create a PR later today to fix this problem if you want

source

axelg12 avatar Apr 02 '18 08:04 axelg12

Still could not run with gradle 5.1.1 . After googling about deprecated versions the below gradle file did the trick for me

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:3.0.3'
    }
}

plugins {
    id 'nebula.netflixoss' version '3.4.0'
    id 'me.champeau.gradle.jmh' version '0.4.8'
    id 'net.saliman.cobertura' version '2.6.0'
}
   task wrapper(type: Wrapper, overwrite:true) {
   gradleVersion = '5.1'
   }
ext {
    githubProjectName = rootProject.name
}

    repositories {
        jcenter()
    }

    apply plugin: 'net.saliman.cobertura'
    apply plugin: 'nebula.netflixoss'
    apply plugin: 'java'
    apply plugin: 'nebula.provided-base'
    apply plugin: 'nebula.compile-api'

    sourceCompatibility = 1.6
    targetCompatibility = 1.6

    group = "com.netflix.${githubProjectName}"

    eclipse {
        classpath {
            // include 'provided' dependencies on the classpath
            plusConfigurations += [configurations.provided]
            downloadSources = true
            downloadJavadoc = true
        }
    }

    idea {
        module {
            // include 'provided' dependencies on the classpath
            scopes.COMPILE.plus += [configurations.provided]
        }
    }

apply plugin: 'war'
apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'

dependencies {
    provided 'javax.servlet:servlet-api:2.5'
    compile 'org.apache.httpcomponents:httpclient:4.2.1'
    compile 'log4j:log4j:1.2.17'
    compile 'org.slf4j:slf4j-log4j12:1.7.0'
    compile 'commons-io:commons-io:2.5'
    testCompile 'junit:junit:4.12'
}
gretty {
	httpPort = 7979
    servletContainer = 'jetty9'
}

themistoklik avatar Jan 18 '19 16:01 themistoklik