mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-03 22:20:28 +03:00 
			
		
		
		
	scanner: update maven repo regex
This commit is contained in:
		
							parent
							
								
									07a0bd7314
								
							
						
					
					
						commit
						a002e46997
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -50,7 +50,7 @@ class MessageStore:
 | 
			
		|||
    errors: list = field(default_factory=list)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
MAVEN_URL_REGEX = re.compile(r"""\smaven\s*(?:{.*?(?:setUrl|url)|\((?:url)?)\s*=?\s*(?:uri|Uri\.create\()?\(?\s*["']?([^\s"']+)["']?[^})]*[)}]""",
 | 
			
		||||
MAVEN_URL_REGEX = re.compile(r"""\smaven\s*(?:{.*?(?:setUrl|url)|\(\s*(?:url)?)\s*=?\s*(?:uri|URI|Uri\.create)?\(?\s*["']?([^\s"']+)["']?[^})]*[)}]""",
 | 
			
		||||
                             re.DOTALL)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -759,6 +759,7 @@
 | 
			
		|||
- ' maven { url ''libs'' }'
 | 
			
		||||
- ' maven { url = uri("https://jitpack.io") }'
 | 
			
		||||
- ' maven { url = uri("https://maven.fabric.io/public") }'
 | 
			
		||||
- ' maven { url = URI("https://jitpack.io") }'
 | 
			
		||||
- ' maven { url MAVEN_REPO_CACHE }'
 | 
			
		||||
- ' maven { url(''http://releases.marmeladburk.fidesmo.com/'') }'
 | 
			
		||||
- ' maven {url "http://dl.bintray.com/tbruyelle/tbruyelle" }'
 | 
			
		||||
| 
						 | 
				
			
			@ -778,3 +779,5 @@
 | 
			
		|||
- ' maven{url "https://plugins.gradle.org/m2/"}'
 | 
			
		||||
- ' maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")'
 | 
			
		||||
- ' maven(url = "https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")'
 | 
			
		||||
- ' maven ( url = "https://jitpack.io")'
 | 
			
		||||
- ' maven( url = "https://oss.sonatype.org/content/repositories/snapshots/" )'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue