-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (40 loc) · 1.12 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
wrapper { gradleVersion = '6.9.1' }
ext {
springBootVersion = "2.7.3"
nekaJwtVersion = "1.1.1"
nekaCommonVersion = "1.1.2"
nekaBomVersion = "1.2.1"
nekaServiceVersion = "1.1.1"
nekaDataJpaVersion = "1.1.2"
}
subprojects {
group 'tr.com.nekasoft.core'
apply plugin: 'maven-publish'
repositories {
mavenCentral()
}
def gprusr
def gprkey
def githubProperties = new Properties()
def file = rootProject.file("github.properties")
if (file.exists()) {
githubProperties.load(new FileInputStream(file))
gprusr = githubProperties["gprusr"]
gprkey = githubProperties["gprkey"]
} else {
gprusr = System.getenv("NEKA_STARTER_GITHUB_USERNAME")
gprkey = System.getenv("NEKA_STARTER_GITHUB_TOKEN")
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/kutay-celebi/neka-starter")
credentials {
username = gprusr
password = gprkey
}
}
}
}
}