-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (49 loc) · 1.83 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
plugins {
id 'org.springframework.boot' version '2.2.6.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
id 'scala'
}
group = 'com.zhangweiwhim'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
// mavenCentral()
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
}
String sparkVersion = '2.4.4'
String scalaBaseVersion = '2.11'
String f_jsonVersion = '1.2.60'
dependencies {
implementation('org.scala-lang:scala-library:2.11.12') {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
implementation('org.springframework.boot:spring-boot-starter-web')
// implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.2'
implementation 'mysql:mysql-connector-java:5.1.48'
implementation 'org.mybatis:mybatis:3.5.2'
implementation('org.apache.spark:spark-core_' + scalaBaseVersion + ':' + sparkVersion) {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
implementation('org.apache.spark:spark-sql_' + scalaBaseVersion + ':' + sparkVersion) {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
implementation('org.apache.spark:spark-hive_' + scalaBaseVersion + ':' + sparkVersion) {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
implementation ('com.alibaba:fastjson:' + f_jsonVersion) { changing = true } //use for bean to json
compile group: 'org.apache.spark', name: 'spark-launcher_2.11', version: '2.4.5'
// testImplementation('org.springframework.boot:spring-boot-starter-test') {
// exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
// }
}
//test {
// useJUnitPlatform()
//}
//bootJar{
// baseName 'wk_batch'
// manifest {
// attributes 'Main-Class': 'com.zhangweiwhim.WkprojApplication'
// }
// version 0.1
//}