forked from hibernate/hibernate-reactive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (38 loc) · 1.18 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
plugins {
id 'java-library'
id 'maven-publish'
id 'com.diffplug.gradle.spotless' version '4.0.1'
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'com.diffplug.gradle.spotless'
group = 'org.hibernate.reactive'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
repositories {
// Only enable these for local development, never push it:
// mavenLocal()
// jcenter()
mavenCentral()
}
ext.publishScript = rootProject.rootDir.absolutePath + '/publish.gradle'
}
// Versions which need to be aligned across modules;
// this also allows to override the build from a parameter,
// which can be useful to monitor compatibility for upcoming versions on CI:
// ./gradlew clean build -PhibernateOrmVersion=5.4.9-SNAPSHOT
ext {
hibernateOrmVersion = '5.4.16.Final'
}
//allprojects {
// apply plugin: 'checkstyle'
//
// checkstyle {
// toolVersion "8.24"
//// sourceSets = [ project.sourceSets.main ]
// configFile = rootProject.file( 'shared/config/checkstyle/checkstyle.xml' )
// showViolations = true
// }
//}