forked from jcasbin/casbin-spring-boot-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
50 lines (42 loc) · 1.31 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
plugins {
id 'org.springframework.boot' version '2.1.4.RELEASE'
id "com.jfrog.bintray" version "1.8.4"
id 'com.gradle.build-scan' version "2.2"
id 'java'
}
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
apply plugin: 'io.spring.dependency-management'
apply from: "maven.gradle"
apply from: "travis.gradle"
apply from: "bintray.gradle"
apply from: "jacoco.gradle"
group = 'org.casbin'
version VERSION_CODE
sourceCompatibility = '1.8'
compileJava.options.encoding = 'UTF-8'
bootJar.enabled = false
jar.enabled = true
repositories {
mavenLocal()
maven { url "https://maven.aliyun.com/repository/public/" }
mavenCentral()
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
compile 'org.casbin:jcasbin:1.4.0'
compile 'com.h2database:h2'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
compileOnly 'org.springframework.boot:spring-boot-starter-data-redis'
testImplementation 'org.springframework.boot:spring-boot-starter-data-redis'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testRuntimeOnly 'mysql:mysql-connector-java:5.1.47'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}