-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (45 loc) · 1.13 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
plugins {
id 'java'
id 'application'
id 'maven-publish'
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
def ourGroupId = 'com.lobosstudios'
def ourArtifactId = 'crypter'
def ourVersionNumber = '1.0.0'
group ourGroupId
version ourVersionNumber
def scmUrl = '[email protected]:lobosstudios/crypter.git'
def licenseName = 'MIT'
def licenseUrl = 'https://opensource.org/license/mit'
repositories {
mavenCentral()
}
dependencies {
implementation group: 'commons-codec', name: 'commons-codec', version: '1.17.1'
}
application {
mainClass = 'com.lobosstudios.crypter.Main'
}
publishing {
publications {
maven(MavenPublication) {
groupId = ourGroupId
artifactId = ourArtifactId
version = ourVersionNumber
from components.java
}
}
}
nexusPublishing {
useStaging = false
repositories {
myNexus {
nexusUrl = uri(maven1Url)
snapshotRepositoryUrl = uri(maven1Url)
username = maven1User
password = maven1Password
}
}
}