Skip to content

Commit

Permalink
properly handle dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
firestar committed Sep 2, 2023
1 parent f4df0f6 commit 0a122ce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
26 changes: 13 additions & 13 deletions buildSrc/src/main/groovy/nucleodb.java-conventions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group = 'com.nucleodb'
version = '1.6.3'
version = '1.6.4'

repositories {
mavenCentral()
Expand All @@ -18,16 +18,16 @@ compileJava {
options.release = 19
}
dependencies {
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.2.3'
implementation group: 'org.apache.kafka', name: 'kafka-clients', version: '2.1.0'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.2'
implementation group: 'net.sf.supercsv', name: 'super-csv-java8', version: '2.4.0'
implementation 'com.github.f4b6a3:uuid-creator:4.5.0'
implementation 'com.google.guava:guava:28.1-jre'
implementation 'com.github.java-json-tools:json-patch:1.13'
implementation 'org.glassfish:javax.json:1.1.4'
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
implementation 'org.dizitart:nitrite:3.4.3'
implementation group: 'com.fasterxml.jackson.datatype', name:'jackson-datatype-jsr310', version:'2.15.2'
implementation 'com.github.jsqlparser:jsqlparser:4.6'
compileOnly group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.2.3'
compileOnly group: 'org.apache.kafka', name: 'kafka-clients', version: '2.1.0'
compileOnly group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.2'
compileOnly group: 'net.sf.supercsv', name: 'super-csv-java8', version: '2.4.0'
compileOnly 'com.github.f4b6a3:uuid-creator:4.5.0'
compileOnly 'com.google.guava:guava:28.1-jre'
compileOnly 'com.github.java-json-tools:json-patch:1.13'
compileOnly 'org.glassfish:javax.json:1.1.4'
compileOnly group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
compileOnly 'org.dizitart:nitrite:3.4.3'
compileOnly group: 'com.fasterxml.jackson.datatype', name:'jackson-datatype-jsr310', version:'2.15.2'
compileOnly 'com.github.jsqlparser:jsqlparser:4.6'
}
6 changes: 1 addition & 5 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ shadowJar {
archiveBaseName.set(group)
archiveVersion.set(version)
archiveClassifier.set('')
minimize{
exclude(dependency('org.*:.*:.*'))
exclude(dependency('com.*:.*:.*'))
exclude(dependency('net.*:.*:.*'))
}
minimize()
}

dependencies {
Expand Down

0 comments on commit 0a122ce

Please sign in to comment.