Skip to content

Commit b50e8eb

Browse files
committed
добавил публикатор
1 parent e3334f4 commit b50e8eb

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

build.gradle.kts

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,49 @@ license {
126126
exclude("**/*.orig")
127127
}
128128

129+
publishing {
130+
publications {
131+
create<MavenPublication>("maven") {
132+
artifact(tasks["jar"])
133+
134+
pom {
135+
description.set("Metadata read/write library for Language 1C (BSL)")
136+
url.set("https://github.com/1c-syntax/mdclasses")
137+
licenses {
138+
license {
139+
name.set("GNU LGPL 3")
140+
url.set("https://www.gnu.org/licenses/lgpl-3.0.txt")
141+
distribution.set("repo")
142+
}
143+
}
144+
developers {
145+
developer {
146+
id.set("otymko")
147+
name.set("Oleg Tymko")
148+
email.set("[email protected]")
149+
url.set("https://github.com/otymko")
150+
organization.set("1c-syntax")
151+
organizationUrl.set("https://github.com/1c-syntax")
152+
}
153+
developer {
154+
id.set("theshadowco")
155+
name.set("Valery Maximov")
156+
email.set("[email protected]")
157+
url.set("https://github.com/theshadowco")
158+
organization.set("1c-syntax")
159+
organizationUrl.set("https://github.com/1c-syntax")
160+
}
161+
}
162+
scm {
163+
connection.set("scm:git:git://github.com/1c-syntax/mdclasses.git")
164+
developerConnection.set("scm:git:[email protected]:1c-syntax/mdclasses.git")
165+
url.set("https://github.com/1c-syntax/mdclasses")
166+
}
167+
}
168+
}
169+
}
170+
}
171+
129172
tasks.register("precommit") {
130173
description = "Run all precommit tasks"
131174
group = "Developer tools"

0 commit comments

Comments
 (0)