2021-10-14 22:05:21 -07:00
|
|
|
plugins {
|
2021-10-18 13:53:05 -07:00
|
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
|
|
id 'java-library'
|
|
|
|
id 'java-test-fixtures'
|
|
|
|
id 'maven-publish'
|
2021-10-14 22:05:21 -07:00
|
|
|
}
|
|
|
|
|
2021-10-17 13:56:28 -07:00
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2021-10-14 22:05:21 -07:00
|
|
|
test {
|
2021-10-18 13:53:05 -07:00
|
|
|
testLogging {
|
|
|
|
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
|
|
|
|
}
|
2021-10-14 22:05:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-10-18 13:53:05 -07:00
|
|
|
implementation platform('org.jetbrains.kotlin:kotlin-bom')
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
implementation "net.java.dev.jna:jna:5.8.0"
|
|
|
|
api "org.slf4j:slf4j-api:1.7.30"
|
|
|
|
testFixturesImplementation "junit:junit:4.13.2"
|
|
|
|
testFixturesImplementation "ch.qos.logback:logback-classic:1.2.3"
|
|
|
|
testFixturesImplementation "ch.qos.logback:logback-core:1.2.3"
|
2021-10-14 22:05:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
2021-11-06 00:22:45 +05:30
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url myMavenRepoWriteUrl
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-18 13:53:05 -07:00
|
|
|
publications {
|
|
|
|
maven(MavenPublication) {
|
|
|
|
groupId = 'org.bitcoindevkit'
|
2021-11-06 01:23:21 +05:30
|
|
|
artifactId = 'bdk-jvm'
|
2021-11-06 00:22:45 +05:30
|
|
|
version = '0.1.0'
|
2021-10-14 22:05:21 -07:00
|
|
|
|
2021-10-18 13:53:05 -07:00
|
|
|
from components.java
|
|
|
|
}
|
2021-10-14 22:05:21 -07:00
|
|
|
}
|
|
|
|
}
|