Skip to content

Instantly share code, notes, and snippets.

@Gueka
Created August 1, 2019 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gueka/9121796da32ae3d107471cf4b521de34 to your computer and use it in GitHub Desktop.
Save Gueka/9121796da32ae3d107471cf4b521de34 to your computer and use it in GitHub Desktop.
Dependencies for a spring boot web project using cassandra
buildscript {
ext {
junitVersion = '5.3.2'
cassandraUnit = '2.1.9.2'
}
}
plugins {
id 'org.springframework.boot' version '2.1.5.RELEASE'
id 'java'
}
apply plugin: 'io.spring.dependency-management'
group = 'net.gueka'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web-services'
implementation 'org.springframework.boot:spring-boot-starter-data-cassandra'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation "org.cassandraunit:cassandra-unit-spring:${cassandraUnit}"
testImplementation "org.cassandraunit:cassandra-unit-shaded:${cassandraUnit}"
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-params:${junitVersion}"
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment