-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
39 lines (33 loc) · 762 Bytes
/
build.gradle
File metadata and controls
39 lines (33 loc) · 762 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
39
plugins {
id 'java-library'
id 'maven-publish'
}
group = 'dev.elliotjarnit'
repositories {
mavenCentral()
}
dependencies {
api 'org.apache.commons:commons-math3:3.6.1'
implementation 'com.google.guava:guava:32.1.1-jre'
implementation 'org.jocl:jocl:2.0.5'
}
java {
withSourcesJar()
}
publishing {
publications {
elliotEngine(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = 'GitHubPackages'
url = "https://maven.pkg.github.com/Swiftzerr/ElliotEngine-Runtime"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}