Skip to content

Commit d8b1c75

Browse files
authored
GH-2601 Allow .aar by default (#2602)
* Allow .aar by default * Update docs
1 parent be67a94 commit d8b1c75

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

reposilite-backend/src/main/kotlin/com/reposilite/maven/application/MavenSettings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ data class MirroredRepositorySettings(
8181
@get:Doc(title = "Allowed Groups", description = "Allowed artifact groups. If none are given, all artifacts can be obtained from this mirror.")
8282
val allowedGroups: List<String> = listOf(),
8383
@get:Doc(title = "Allowed Extensions", description = "List of accepted file extensions. If none are given, all files can be obtained from this mirror.")
84-
val allowedExtensions: List<String> = listOf(".jar", ".war", ".pom", ".xml", ".module", ".md5", ".sha1", ".sha256", ".sha512", ".asc"),
84+
val allowedExtensions: List<String> = listOf(".jar", ".war", ".aar", ".pom", ".xml", ".module", ".md5", ".sha1", ".sha256", ".sha512", ".asc"),
8585
@Min(0)
8686
@get:Doc(title = "Connect Timeout", description = "How long Reposilite can wait for establishing the connection with a remote host. (In seconds)")
8787
val connectTimeout: Int = 3,

reposilite-site/data/guides/features/mirrors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ By default, Reposilite allows these extensions:
5959

6060
- `.jar`
6161
- `.war`
62+
- `.aar`
6263
- `.xml`
6364
- `.pom`
6465
- `.module`

0 commit comments

Comments
 (0)