Skip to content

Commit

Permalink
More Gradle cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Dec 13, 2024
1 parent 6f338de commit 3888ee1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 17 deletions.
8 changes: 6 additions & 2 deletions acceptance-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ tasks.register('acceptanceTests', Test) {
}

dependencies {
testImplementation project(":native:compress")
testImplementation project(':native:compress')

testImplementation project(":sequencer")
testImplementation project(':sequencer')

testImplementation "${besuArtifactGroup}:besu-datatypes"
testImplementation "${besuArtifactGroup}.internal:api"
Expand All @@ -69,3 +69,7 @@ dependencies {
}

test.enabled = false

jar {
enabled = false
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
releaseVersion=0.8.0-rc8.3
besuVersion=24.12-delivery40
arithmetizationVersion=0.8.0-rc8-local
arithmetizationVersion=0.8.0-rc8-local2
besuArtifactGroup=io.consensys.linea-besu
distributionIdentifier=linea-sequencer
distributionBaseUrl=https://artifacts.consensys.net/public/linea-besu/raw/names/linea-besu.tar.gz/versions/
3 changes: 1 addition & 2 deletions gradle/common-dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

dependencies {
api 'org.slf4j:slf4j-api'
implementation 'org.slf4j:slf4j-api'

testImplementation 'org.apache.commons:commons-lang3'
testImplementation 'com.google.guava:guava'
Expand All @@ -28,7 +28,6 @@ dependencies {

testImplementation 'org.wiremock:wiremock'

testRuntimeOnly 'org.apache.logging.log4j:log4j-api'
testRuntimeOnly 'org.apache.logging.log4j:log4j-core'
testRuntimeOnly 'org.apache.logging.log4j:log4j-slf4j2-impl'

Expand Down
4 changes: 0 additions & 4 deletions gradle/tests.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ jacoco {
toolVersion = '0.8.12'
}

configurations {
testSupportImplementation.extendsFrom implementation
}

test {
description = 'Runs unit tests.'

Expand Down
7 changes: 1 addition & 6 deletions native/compress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ apply from: rootProject.file("gradle/dependency-management.gradle")
apply from: rootProject.file('gradle/common-dependencies.gradle')
apply from: rootProject.file("gradle/build-aliases.gradle")
apply from: rootProject.file("gradle/lint.gradle")

test {
useJUnitPlatform()
}
apply from: rootProject.file("gradle/tests.gradle")

tasks.register('buildJNI', Exec) {
if(project.hasProperty("releaseNativeLibs")) {
Expand Down Expand Up @@ -86,5 +83,3 @@ jar {
version = calculateVersion()
includeEmptyDirs = false
}

jar.dependsOn(buildJNI)
3 changes: 1 addition & 2 deletions sequencer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ apply from: rootProject.file("gradle/lint.gradle")
dependencies {
// annotationProcessor generates the file META-INF/services/org.hyperledger.besu.plugin.BesuPlugin
annotationProcessor 'com.google.auto.service:auto-service'
compileOnly 'com.google.auto.service:auto-service'

implementation project(":native:compress")

Expand All @@ -43,8 +44,6 @@ dependencies {
implementation "${besuArtifactGroup}.internal:core"
implementation "${besuArtifactGroup}.internal:rlp"

implementation 'com.google.auto.service:auto-service'

implementation 'com.google.code.gson:gson'

implementation 'io.tmio:tuweni-bytes'
Expand Down

0 comments on commit 3888ee1

Please sign in to comment.