1 Star 0 Fork 0

sunlinlin/neo4j-apoc-procedures

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 3.73 KB
一键复制 编辑 原始数据 按行查看 历史
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
id 'maven-publish'
id "com.github.hierynomus.license-report" version"0.16.1"
id "com.diffplug.spotless" version "6.7.2"
}
ext {
// Move to gradle.properties (but versions.json generation build depends on this right now)
neo4jVersion = '4.4.36'
publicDir = "${project.rootDir}"
neo4jVersionEffective = project.hasProperty("neo4jVersionOverride") ? project.getProperty("neo4jVersionOverride") : neo4jVersion
neo4jDockerVersion = project.hasProperty("neo4jDockerVersionOverride") ? project.getProperty("neo4jDockerVersionOverride") : neo4jVersion
testContainersVersion = '1.17.6'
}
subprojects {
apply plugin: "com.diffplug.spotless"
apply plugin: 'java-library'
spotless {
java {
target 'src/*/java/**/*.java'
removeUnusedImports()
palantirJavaFormat()
}
}
}
downloadLicenses {
excludeDependencies = [
'org.neo4j.*'
]
}
allprojects {
group = 'org.neo4j.procedure'
version = '4.4.0.30'
base {
archivesName = 'apoc'
}
description = """neo4j-apoc-procedures"""
}
apply plugin: 'java-library'
if (System.env.CI != null)
apply from: 'teamcity-repository.gradle'
repositories {
/*maven { // this contains the neo4j 4.0.0-beta jars
url "https://neo4j.bintray.com/community/"
}*/
mavenCentral()
maven {
url "https://repo.gradle.org/gradle/libs-releases"
}
mavenLocal()
}
subprojects {
apply plugin: 'java-library'
repositories {
/*maven { // this contains the neo4j 4.0.0-beta jars
url "https://neo4j.bintray.com/community/"
}*/
mavenCentral()
maven {
url "https://repo.gradle.org/gradle/libs-releases"
}
mavenLocal()
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
task mySourcesJar(type: Jar) {
from sourceSets.main.allJava
archiveClassifier = 'sources'
dependsOn(':full:generateGrammarSource')
}
task myJavadocJar(type: Jar) {
from javadoc
archiveClassifier = 'javadoc'
}
test {
//exclude '**/CypherProceduresClusterTest.class'//, '**/AtomicTest.class'
// neo4jDockerImage system property is used in TestContainerUtil
systemProperties 'user.language' : 'en' ,
'user.country ' : 'US',
'neo4jDockerImage' : "neo4j:${neo4jDockerVersion}-enterprise-debian",
'neo4jCommunityDockerImage': "neo4j:${neo4jDockerVersion}-debian"
maxHeapSize = "5G"
forkEvery = 50
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
minHeapSize = "128m"
// This would apply only to TeamCity
// We need to ignore the failures because we may have tests muted
if (System.env.TEAMCITY_VERSION != null) {
ignoreFailures(true)
if (project.hasProperty('excludeSeleniumTests')) {
exclude '**/LoadHtmlTest*'
exclude '**/LoadHtmlTestParameterized*'
}
}
filter {
setFailOnNoMatchingTests(false)
}
// in TC we don't have the CI env so we can manage it in this way
if (System.env.TEAMCITY_VERSION != null) {
ignoreFailures(true)
}
testLogging.showStandardStreams = true
testLogging.exceptionFormat = 'full'
}
configurations {
apt
}
compileJava {
options.annotationProcessorPath = configurations.apt
options.compilerArgs += ["-AIgnoreContextWarnings"]
}
}
apply from: "licenses-3rdparties.gradle"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sll-xiaoxin/neo4j-apoc-procedures.git
git@gitee.com:sll-xiaoxin/neo4j-apoc-procedures.git
sll-xiaoxin
neo4j-apoc-procedures
neo4j-apoc-procedures
4.4

搜索帮助

D67c1975 1850385 1daf7b77 1850385