-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (30 loc) · 934 Bytes
/
build.gradle
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
plugins {
id 'java-library'
id 'maven-publish'
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'com.github.ghubstan'
artifactId = 'misq-modules-poc'
version = '0.0.1-SNAPSHOT'
from components.java
}
}
// Publish to jitpack.
// $ ./gradlew clean build assemble publish
//
// Copy all defined publications to the local Maven cache, including their metadata (POM files, etc.).
// $ ./gradlew clean build publishToMavenLocal
// See https://docs.gradle.org/current/userguide/publishing_maven.html
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ghubstan/misq-modules-poc")
credentials {
username = "ghubstan"
password = System.getProperty("ghubtoken")
}
}
}
}