Hi all,
I want to download the latest dependency of the ethereumj-core library (http://oss.jfrog.org/oss-snapshot-local/org/ethereum/ethereumj-core/1.0.0-SNAPSHOT/)
I use the following entry in my build.gradle file:
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, ‘seconds’
}
Unfortunatelly, I allways get the version of 21. september.
I have deleted the cache (rm -rf $HOME/.gradle/caches), but it doesn’t get updated to the latest version
Does anybody know what to do?
Regards
Skydog
Here my build.gradle file:
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'spring-boot'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.2.RELEASE")
}
}
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://oss.jfrog.org/libs-snapshot/"
}
}
eclipse {
classpath {
downloadJavadoc = true
downloadSources = true
}
}
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
compile ("org.springframework.boot:spring-boot-starter-web")
compile "com.google.guava:guava:18.0"
compile ("org.ethereum:ethereumj-core:1.0.0-SNAPSHOT"){
changing=true
exclude group: "log4j"
exclude group: "org.slf4j", module: "log4j-over-slf4j"
exclude group: "org.slf4j", module: "slf4j-log4j12"
}
}
sourceSets {
main {
java {
srcDir './src'
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2.1'
}
task stage {
dependsOn bootRepackage
}
bootRun {
jvmArgs = ["-server", "-Xms3g"]
}