This repository has been archived by the owner on Dec 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
91 lines (81 loc) · 2.85 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id "idea"
id "java"
id "application"
id "org.springframework.boot" version "2.4.2"
id "io.spring.dependency-management" version "1.0.11.RELEASE"
id "maven"
id "maven-publish"
id "org.sonarqube" version "3.0"
}
wrapper {
gradleVersion = '6.8.1'
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
startScripts {
mainClassName = 'com.repomgr.repomanager.RepoManagerApplication'
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo.spring.io/libs-snapshot' }
maven { url "https://jitpack.io" }
jcenter()
}
dependencies {
// implementation "org.springframework.boot:spring-boot-starter-actuator"
implementation "org.springframework.boot:spring-boot-starter-security"
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation "org.reactivestreams:reactive-streams:1.0.3"
implementation "com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.12.1"
implementation "com.google.code.findbugs:jsr305:${versionGoogleJsr305}"
implementation "io.jsonwebtoken:jjwt:${versionJjwt}"
implementation "org.liquibase:liquibase-core"
implementation "javax.validation:validation-api"
implementation "org.owasp.encoder:encoder:${versionOwaspEncoder}"
runtimeOnly "org.postgresql:postgresql"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "org.springframework.security:spring-security-test"
testRuntime "com.h2database:h2:${versionTestH2}"
annotationProcessor "org.springframework:spring-context-indexer"
compile 'org.springframework.experimental:spring-graal-native:0.6.+'
}
bootJar {
manifest {
attributes('Implementation-Title': 'Repo-Manager',
'Implementation-Version': version)
}
}
publishing {
publications {
maven(MavenPublication) {
from components.java
artifactId "repomanager"
version "${version}"
pom.withXml {
def root = asNode()
root.appendNode('description', 'Manage different products/projects/libraries and make them searchable with a simlpe UI.')
root.appendNode('name', 'repomanager')
root.appendNode('url', 'https://github.com/Ragin-LundF/repomanager')
root.children().last() + pomConfig
}
}
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/Ragin-LundF/repomanager")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}