mirror of
				https://github.com/SimpleMobileTools/Simple-Draw.git
				synced 2025-06-05 21:59:17 +02:00 
			
		
		
		
	enable viewbinding
update compile sdk to 34 update kotlin version to 1.9.0
This commit is contained in:
		| @@ -1,6 +1,5 @@ | ||||
| apply plugin: 'com.android.application' | ||||
| apply plugin: 'kotlin-android' | ||||
| apply plugin: 'kotlin-android-extensions' | ||||
|  | ||||
| def keystorePropertiesFile = rootProject.file("keystore.properties") | ||||
| def keystoreProperties = new Properties() | ||||
| @@ -9,12 +8,13 @@ if (keystorePropertiesFile.exists()) { | ||||
| } | ||||
|  | ||||
| android { | ||||
|     compileSdkVersion 33 | ||||
|     namespace "com.simplemobiletools.draw.pro" | ||||
|     compileSdk 34 | ||||
|  | ||||
|     defaultConfig { | ||||
|         applicationId "com.simplemobiletools.draw.pro" | ||||
|         minSdkVersion 23 | ||||
|         targetSdkVersion 33 | ||||
|         minSdk 23 | ||||
|         targetSdk 34 | ||||
|         versionCode 79 | ||||
|         versionName "6.9.3" | ||||
|         setProperty("archivesBaseName", "draw") | ||||
| @@ -32,6 +32,11 @@ android { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     buildFeatures { | ||||
|         buildConfig true | ||||
|         viewBinding true | ||||
|     } | ||||
|  | ||||
|     buildTypes { | ||||
|         debug { | ||||
| 	        applicationIdSuffix ".debug" | ||||
| @@ -45,7 +50,16 @@ android { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     flavorDimensions "variants" | ||||
|     compileOptions { | ||||
|         sourceCompatibility JavaVersion.VERSION_17 | ||||
|         targetCompatibility JavaVersion.VERSION_17 | ||||
|     } | ||||
|  | ||||
|     kotlinOptions { | ||||
|         jvmTarget = '17' | ||||
|     } | ||||
|  | ||||
|     flavorDimensions = ["variants"] | ||||
|     productFlavors { | ||||
|         core {} | ||||
|         fdroid {} | ||||
| @@ -63,6 +77,6 @@ android { | ||||
| } | ||||
|  | ||||
| dependencies { | ||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:4c83ec8740' | ||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:0e173dc5ad' | ||||
|     implementation "androidx.print:print:1.0.0" | ||||
| } | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| // Top-level build file where you can add configuration options common to all sub-projects/modules. | ||||
|  | ||||
| buildscript { | ||||
|     ext.kotlin_version = '1.7.10' | ||||
|     ext.kotlin_version = '1.9.0' | ||||
|  | ||||
|     repositories { | ||||
|         google() | ||||
| @@ -9,7 +9,7 @@ buildscript { | ||||
|     } | ||||
|  | ||||
|     dependencies { | ||||
|         classpath 'com.android.tools.build:gradle:7.3.0' | ||||
|         classpath 'com.android.tools.build:gradle:8.1.0' | ||||
|         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||||
|  | ||||
|         // NOTE: Do not place your application dependencies here; they belong | ||||
|   | ||||
| @@ -1,3 +1,4 @@ | ||||
| android.enableJetifier=true | ||||
| android.nonTransitiveRClass=false | ||||
| android.useAndroidX=true | ||||
|  | ||||
| org.gradle.jvmargs=-Xmx4g | ||||
|   | ||||
							
								
								
									
										2
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							| @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME | ||||
| distributionPath=wrapper/dists | ||||
| zipStoreBase=GRADLE_USER_HOME | ||||
| zipStorePath=wrapper/dists | ||||
| distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip | ||||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip | ||||
|   | ||||
		Reference in New Issue
	
	Block a user