mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2025-09-03 06:59:17 +00:00
Compare commits
2 Commits
build-6d2f
...
build-46d6
Author | SHA1 | Date | |
---|---|---|---|
46d6d429bb | |||
dd9e71c9a2 |
@@ -39,6 +39,6 @@ class MavenProjectInfoView : View {
|
|||||||
developersView.developers = value.developers
|
developersView.developers = value.developers
|
||||||
val reposWithoutSonatype = value.repositories.filter { it != SonatypeRepository }
|
val reposWithoutSonatype = value.repositories.filter { it != SonatypeRepository }
|
||||||
includeMavenCentralElement.checked = value.repositories.size != reposWithoutSonatype.size
|
includeMavenCentralElement.checked = value.repositories.size != reposWithoutSonatype.size
|
||||||
repositoriesView.repositories = value.repositories
|
repositoriesView.repositories = reposWithoutSonatype
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -21,7 +21,7 @@ class RepositoriesView(rootElement: HTMLElement) : MutableListView<MavenPublishi
|
|||||||
|
|
||||||
override fun HTMLElement.addContentBeforeRemoveButton(value: MavenPublishingRepository) {
|
override fun HTMLElement.addContentBeforeRemoveButton(value: MavenPublishingRepository) {
|
||||||
createTextField("Repository name", "This name will be used to identify repository in grade").value = value.name
|
createTextField("Repository name", "This name will be used to identify repository in grade").value = value.name
|
||||||
createTextField("Repository URL", "For example: https://repo.maven.apache.org/maven2/").value = value.name
|
createTextField("Repository URL", "For example: https://repo.maven.apache.org/maven2/").value = value.url
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun HTMLElement.updateElement(from: MavenPublishingRepository, to: MavenPublishingRepository) {
|
override fun HTMLElement.updateElement(from: MavenPublishingRepository, to: MavenPublishingRepository) {
|
||||||
|
Reference in New Issue
Block a user