@@ -4,9 +4,6 @@ plugins {
44}
55
66dependencies {
7- // JSON processing
8- implementation ' com.google.code.gson:gson:2.10.1'
9-
107 // Testing
118 testImplementation ' org.junit.jupiter:junit-jupiter:5.10.1'
129 testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
@@ -98,52 +95,3 @@ test {
9895 exceptionFormat " full"
9996 }
10097}
101-
102- // Task to run conformance handler
103- tasks. register(' conformanceHandler' , Exec ) {
104- group = ' conformance'
105- description = ' Run the conformance test handler (reads from stdin, writes to stdout)'
106-
107- classpath = sourceSets. main. runtimeClasspath
108- mainClass = ' org.bitcoinkernel.conformance.ConformanceTestHandler'
109-
110- // Required for FFM
111- jvmArgs = [' --enable-native-access=ALL-UNNAMED' ]
112-
113- // Connect stdin/stdout
114- standardInput = System . in
115- standardOutput = System . out
116- standardError = System . err
117- }
118-
119- // Build uber JAR with all dependencies
120- tasks. register(' buildConformanceJar' , Jar ) {
121- group = ' conformance'
122- description = ' Build standalone conformance handler JAR with all dependencies'
123-
124- archiveBaseName = ' java-bitcoinkernel-conformance-handler'
125- archiveVersion = ' 0.1.0'
126-
127- from sourceSets. main. output
128-
129- // Include all dependencies
130- from {
131- configurations. runtimeClasspath. collect {
132- it. isDirectory() ? it : zipTree(it)
133- }
134- }
135-
136- // Avoid duplicate files
137- duplicatesStrategy = DuplicatesStrategy . EXCLUDE
138-
139- manifest {
140- attributes(
141- ' Main-Class' : ' org.bitcoinkernel.conformance.ConformanceTestHandler' ,
142- ' Implementation-Title' : ' Java Bitcoin Kernel Conformance Handler' ,
143- ' Implementation-Version' : archiveVersion. get()
144- )
145- }
146- }
147-
148- // Make conformance JAR depend on compilation
149- buildConformanceJar. dependsOn compileJava
0 commit comments