Skip to content

Commit 85ed39f

Browse files
committed
Add more referenced documents for JavaRepositoryDescriptor
1 parent e8ebe5e commit 85ed39f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SwiftJavaConfigurationShared/Configuration.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ public struct JavaDependencyDescriptor: Hashable, Codable {
162162
public enum JavaRepositoryDescriptor: Hashable, Codable, Equatable {
163163

164164
/// Haven't found a proper way to test credentials, packages that need to download from private repo can be downloaded by maven and then use local repo instead
165+
///
166+
/// References:
167+
/// - [Maven repositories](https://docs.gradle.org/current/userguide/supported_repository_types.html#sec:maven-repo)
168+
/// - [Artifacts](https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.repositories.MavenArtifactRepository.html#:~:text=urls)-,Adds%20some%20additional%20URLs%20to%20use%20to%20find%20artifact%20files.%20Note%20that%20these%20URLs%20are%20not%20used%20to%20find%20POM%20files.,-The)
165169
case maven(url: String, artifactUrls: [String]? = nil)
166170
case mavenLocal(includeGroups: [String]? = nil)
167171
case other(_ type: String)

0 commit comments

Comments
 (0)