-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
39 lines (32 loc) · 791 Bytes
/
build.gradle
File metadata and controls
39 lines (32 loc) · 791 Bytes
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
plugins {
id 'java-library'
id 'maven-publish'
id "com.github.johnrengelman.shadow" version "7.0.0"
}
apply plugin: 'maven-publish'
group = 'com.github.natanbc'
version = "1.0.1"
sourceCompatibility = 16
targetCompatibility = 16
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
main(MavenPublication) {
//components.java
from components.java
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/ishwi/java-eval"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
}