mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
Merge branch 'scanner-debian-maven' into 'master'
Fix local Debian Maven repo handling See merge request fdroid/fdroidserver!670
This commit is contained in:
commit
13dc98795f
@ -110,7 +110,9 @@ def scan_source(build_dir, build=metadata.Build()):
|
||||
's3.amazonaws.com/repo.commonsware.com', # CommonsWare
|
||||
'plugins.gradle.org/m2', # Gradle plugin repo
|
||||
'maven.google.com', # Google Maven Repo, https://developer.android.com/studio/build/dependencies.html#google-maven
|
||||
'file:///usr/share/maven-repo', # local repo on Debian installs
|
||||
]
|
||||
] + [re.compile(r'^file://' + re.escape(repo) + r'/*') for repo in [
|
||||
'/usr/share/maven-repo', # local repo on Debian installs
|
||||
]
|
||||
]
|
||||
|
||||
|
18
tests/source-files/info.guardianproject.ripple/build.gradle
Normal file
18
tests/source-files/info.guardianproject.ripple/build.gradle
Normal file
@ -0,0 +1,18 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url 'file:///usr/share/maven-repo' }
|
||||
maven { url 'https://maven.google.com' }
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.2.2'
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url 'file:///usr/share/maven-repo' }
|
||||
maven { url 'https://maven.google.com' }
|
||||
jcenter()
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user