Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (41 sloc) 1.15 KB
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'CTS583385' at '9/9/17 12:57 AM' with Gradle 2.7
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/2.7/userguide/tutorial_java_projects.html
*/
apply plugin: 'scala'
apply plugin: 'eclipse'
apply plugin: 'maven'
version = '1.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
configurations {
provided
compile.extendsFrom provided
}
dependencies{
provided 'org.apache.spark:spark-core_2.11:2.2.1'
provided 'org.apache.spark:spark-sql_2.11:2.2.1'
provided 'org.apache.spark:spark-catalyst_2.11:2.2.1'
compile group: 'com.datastax.spark', name: 'spark-cassandra-connector_2.11', version: '2.0.7'
}
jar {
zip64 true
baseName = project.name
dependsOn configurations.runtime
from {
(configurations.runtime - configurations.provided).collect {
it.isDirectory() ? it : zipTree(it)
}
} {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
}