-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (63 loc) · 2.02 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
plugins {
id 'java'
id 'maven-publish'
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.2.3"
}
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://us-maven.pkg.dev/emeraldpay-prod/maven"
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
apply plugin: "com.google.cloud.artifactregistry.gradle-plugin"
group = 'io.emeraldpay.doubleview'
version = '0.3.0'
java {
sourceCompatibility = org.gradle.api.JavaVersion.VERSION_21
targetCompatibility = org.gradle.api.JavaVersion.VERSION_21
withJavadocJar()
withSourcesJar()
}
repositories {
mavenCentral()
}
publishing {
repositories {
maven {
url "artifactregistry://us-maven.pkg.dev/emeraldpay-prod/maven/"
}
}
publications {
Publication(org.gradle.api.publish.maven.MavenPublication) {
from components.findByName("java")
groupId project.group
artifactId project.name
version project.version
pom {
name = "Double View"
licenses {
license {
name = "The Apache Software License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
id = "splix"
name = "Igor Artamonov"
}
}
scm {
connection = "scm:git:git://github.com/emeraldpay/double-view.git"
developerConnection = "scm:git:git://github.com/emeraldpay/double-view.git"
url = "https://github.com/emeraldpay/double-view"
}
}
}
}
}
}