47 lines
1.1 KiB
Groovy
Raw Normal View History

plugins {
id 'org.jetbrains.kotlin.jvm'
id 'java-library'
id 'java-test-fixtures'
id 'maven-publish'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
test {
testLogging {
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
}
}
dependencies {
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"
}
publishing {
2021-11-06 00:22:45 +05:30
repositories {
maven {
url myMavenRepoWriteUrl
}
}
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'
from components.java
}
}
}