Skip to content

Commit de3dab3

Browse files
committed
Add more referenced documents for JavaRepositoryDescriptor
1 parent f6f9800 commit de3dab3

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
@@ -143,6 +143,10 @@ public struct JavaDependencyDescriptor: Hashable, Codable {
143143
public enum JavaRepositoryDescriptor: Hashable, Codable, Equatable {
144144

145145
/// 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
146+
///
147+
/// References:
148+
/// - [Maven repositories](https://docs.gradle.org/current/userguide/supported_repository_types.html#sec:maven-repo)
149+
/// - [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)
146150
case maven(url: String, artifactUrls: [String]? = nil)
147151
case mavenLocal(includeGroups: [String]? = nil)
148152
case other(_ type: String)

0 commit comments

Comments
 (0)