blob: 9e9b4d2d4d9dc250c006d6e2d191bc20256fd9e1 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE
* file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
* to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
plugins { id 'application' }
description = 'Ethereum ÐΞVp2p implementation.'
dependencies {
implementation project(':bytes')
implementation project(':concurrent')
implementation project(':concurrent-coroutines')
implementation project(':crypto')
implementation project(':io')
implementation project(':kademlia')
implementation project(':rlp')
implementation project(':units')
implementation 'com.google.guava:guava'
implementation 'io.vertx:vertx-core'
implementation 'io.vertx:vertx-lang-kotlin-coroutines'
implementation 'io.vertx:vertx-lang-kotlin'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core'
implementation 'org.slf4j:slf4j-api'
implementation 'org.jetbrains.kotlin:kotlin-stdlib'
compileOnly 'org.bouncycastle:bcprov-jdk15on'
testImplementation project(':junit')
testImplementation 'org.bouncycastle:bcprov-jdk15on'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.junit.jupiter:junit-jupiter-params'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testRuntimeOnly 'ch.qos.logback:logback-classic'
}
application {
mainClassName = 'org.apache.tuweni.devp2p.v5.ScraperApp'
applicationName = 'scraper'
}
task v4ScraperApp(type: CreateStartScripts) {
mainClass = "org.apache.tuweni.devp2p.ScraperApp"
applicationName = "v4scraper"
outputDir = new File(project.buildDir, 'scripts')
classpath = project.startScripts.classpath
}