dimanche 15 mars 2015

gradle dependencies file build gradle

I have a file build.gradle, and i have add dependency for ola4j but i dont know add this. I saw in repository of maven central, but i didn´t this jar.


How I make this dependecy?


This is my code now:



apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'

jar {
baseName = 'gs-relational-data-access'
version = '0.1.0'
}

repositories {
mavenLocal()
mavenCentral()
maven { url "http://ift.tt/1AdQl9R" }
}

dependencies {
compile("org.springframework.boot:spring-boot-starter")
compile("org.springframework:spring-jdbc")
compile("org.olap4j:olap4j:1.1.0")
compile("com.h2database:h2")
testCompile("junit:junit")
}

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

Aucun commentaire:

Enregistrer un commentaire