mirror of
				https://github.com/SimpleMobileTools/Simple-Gallery.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	Restore gradle files
This commit is contained in:
		
							
								
								
									
										49
									
								
								build.gradle
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								build.gradle
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,49 @@ | |||||||
|  | // Top-level build file where you can add configuration options common to all sub-projects/modules. | ||||||
|  |  | ||||||
|  | buildscript { | ||||||
|  |     // needed only if we are including commons locally from our pc, not via Jitpack | ||||||
|  |     /*ext { | ||||||
|  |         propCompileSdkVersion = 33 | ||||||
|  |         propMinSdkVersion = 23 | ||||||
|  |         propTargetSdkVersion = propCompileSdkVersion | ||||||
|  |         propVersionCode = 1 | ||||||
|  |         propVersionName = '5.34.26' | ||||||
|  |     }*/ | ||||||
|  |  | ||||||
|  |     ext.kotlin_version = '1.9.0' | ||||||
|  |     ext.is_proprietary = gradle.startParameter.taskNames.any { task -> task.contains("Proprietary") } | ||||||
|  |  | ||||||
|  |     repositories { | ||||||
|  |         google() | ||||||
|  |         jcenter() | ||||||
|  |         if (is_proprietary) { | ||||||
|  |             maven { url 'https://artifactory.img.ly/artifactory/imgly' } | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     dependencies { | ||||||
|  |         classpath 'com.android.tools.build:gradle:8.1.0' | ||||||
|  |         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||||||
|  |         if (is_proprietary) { | ||||||
|  |             classpath 'ly.img.android.pesdk:plugin:10.7.3' | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         // NOTE: Do not place your application dependencies here; they belong | ||||||
|  |         // in the individual module build.gradle files | ||||||
|  |     } | ||||||
|  | } | ||||||
|  |  | ||||||
|  | allprojects { | ||||||
|  |     repositories { | ||||||
|  |         google() | ||||||
|  |         jcenter() | ||||||
|  |         maven { url "https://jitpack.io" } | ||||||
|  |         if (is_proprietary) { | ||||||
|  |             maven { url 'https://artifactory.img.ly/artifactory/imgly' } | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
|  |  | ||||||
|  | task clean(type: Delete) { | ||||||
|  |     delete rootProject.buildDir | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								settings.gradle
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								settings.gradle
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | include ':app' | ||||||
|  | //include ':commons' | ||||||
|  | //project(':commons').projectDir = new File('../Simple-Commons/commons') | ||||||
		Reference in New Issue
	
	Block a user