-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
49 lines (42 loc) · 1.2 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
plugins {
id("java-library")
id("maven-publish")
}
group = "us.ihmc"
version = "1.1.1"
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
groupId = project.group.toString()
artifactId = "psyonic-ability-hand-java"
version = project.version.toString()
}
}
repositories {
maven {
val releasesRepo = uri("https://s01.oss.sonatype.org/content/repositories/releases")
val snapshotsRepo = uri("https://s01.oss.sonatype.org/content/repositories/snapshots")
url = if (version.toString().endsWith("SNAPSHOT")) snapshotsRepo else releasesRepo
credentials {
username = project.findProperty("publishUsername").toString()
password = project.findProperty("publishPassword").toString()
}
}
}
}
dependencies {
implementation("net.java.dev.jna:jna:5.14.0") {
isTransitive = true
}
implementation("net.java.dev.jna:jna-platform:5.14.0") {
isTransitive = true
}
api("us.ihmc:ihmc-native-library-loader:2.0.2") {
isTransitive = true
}
}