Skip to content

Commit

Permalink
[NOID] Fixes more deprecated features
Browse files Browse the repository at this point in the history
  • Loading branch information
ncordon committed Aug 8, 2023
1 parent 099e073 commit feb79ad
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 20 deletions.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ downloadLicenses {
allprojects {
group = 'org.neo4j.procedure'
version = '4.4.0.21'
archivesBaseName = 'apoc'
base {
archivesName = 'apoc'
}
description = """neo4j-apoc-procedures"""
}

Expand Down Expand Up @@ -59,6 +61,7 @@ subprojects {
task mySourcesJar(type: Jar) {
from sourceSets.main.allJava
archiveClassifier = 'sources'
dependsOn(':full:generateGrammarSource')
}

task myJavadocJar(type: Jar) {
Expand Down
4 changes: 3 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ spotless {
}
}

archivesBaseName = "apoc"
base {
archivesName = "apoc"
}

jar {
manifest {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/aws/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ java {
}


archivesBaseName = 'apoc-aws-dependencies'
base {
archivesName = 'apoc-aws-dependencies'
}
description = """APOC AWS Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/bolt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ java {
targetCompatibility = JavaVersion.VERSION_11
}

archivesBaseName = 'apoc-bolt-dependencies'
base {
archivesName = 'apoc-bolt-dependencies'
}
description = """APOC Bolt Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/couchbase/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ java {
targetCompatibility = JavaVersion.VERSION_11
}

archivesBaseName = 'apoc-couchbase-dependencies'
base {
archivesName = 'apoc-couchbase-dependencies'
}
description = """APOC Couchbase Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/email/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ java {
}


archivesBaseName = 'apoc-email-dependencies'
base {
archivesName = 'apoc-email-dependencies'
}
description = """APOC Email Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/gcs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ java {
}


archivesBaseName = 'apoc-gcs-dependencies'
base {
archivesName = 'apoc-gcs-dependencies'
}
description = """APOC Google Cloud Storage Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/hadoop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ java {
targetCompatibility = JavaVersion.VERSION_11
}

archivesBaseName = 'apoc-hadoop-dependencies'
base {
archivesName = 'apoc-hadoop-dependencies'
}
description = """APOC Apache Hadoop Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/mongodb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ java {
targetCompatibility = JavaVersion.VERSION_11
}

archivesBaseName = 'apoc-mongodb-dependencies'
base {
archivesName = 'apoc-mongodb-dependencies'
}
description = """APOC MongoDB Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/nlp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ java {
}


archivesBaseName = 'apoc-nlp-dependencies'
base {
archivesName = 'apoc-nlp-dependencies'
}
description = """APOC NLP Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/redis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ java {
targetCompatibility = JavaVersion.VERSION_11
}

archivesBaseName = 'apoc-redis-dependencies'
base {
archivesName = 'apoc-redis-dependencies'
}
description = """APOC Redis Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/selenium/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ java {
targetCompatibility = JavaVersion.VERSION_11
}

archivesBaseName = 'apoc-selenium-dependencies'
base {
archivesName = 'apoc-selenium-dependencies'
}
description = """APOC Selenium Dependencies"""

jar {
Expand Down
4 changes: 3 additions & 1 deletion extra-dependencies/xls/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ java {
}


archivesBaseName = 'apoc-xls-dependencies'
base {
archivesName = 'apoc-xls-dependencies'
}
description = """APOC XLS Dependencies"""

jar {
Expand Down
10 changes: 4 additions & 6 deletions full/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ spotless {
}
}

archivesBaseName = "apoc"

base {
archivesName = "apoc"
}

jar {
manifest {
attributes 'Implementation-Version': archiveVersion
}
archiveClassifier = 'core'
}

compileKotlin {
Expand All @@ -34,10 +36,6 @@ compileTestKotlin {
dependsOn(generateTestGrammarSource)
}

mySourcesJar {
dependsOn(generateGrammarSource)
}

generateGrammarSource {
arguments += ["-package", "apoc.custom"]
}
Expand Down
4 changes: 3 additions & 1 deletion processor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ plugins {
id 'java'
}

archivesBaseName = "apoc-processor"
base {
archivesName = "apoc-processor"
}


jar {
Expand Down

0 comments on commit feb79ad

Please sign in to comment.