mirror of
				https://github.com/InsanusMokrassar/KotlinMultiplatformProjectTemplate.git
				synced 2025-11-04 14:16:33 +00:00 
			
		
		
		
	Update mppProjectWithSerialization.gradle
This commit is contained in:
		@@ -7,7 +7,7 @@ kotlin {
 | 
				
			|||||||
    jvm {
 | 
					    jvm {
 | 
				
			||||||
        compilations.main {
 | 
					        compilations.main {
 | 
				
			||||||
            kotlinOptions {
 | 
					            kotlinOptions {
 | 
				
			||||||
                jvmTarget = "1.8"
 | 
					                jvmTarget = "17"
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -17,6 +17,11 @@ kotlin {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    android {
 | 
					    android {
 | 
				
			||||||
        publishAllLibraryVariants()
 | 
					        publishAllLibraryVariants()
 | 
				
			||||||
 | 
					        compilations.all {
 | 
				
			||||||
 | 
					            kotlinOptions {
 | 
				
			||||||
 | 
					                jvmTarget = "17"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    sourceSets {
 | 
					    sourceSets {
 | 
				
			||||||
@@ -54,8 +59,8 @@ kotlin {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
java {
 | 
					java {
 | 
				
			||||||
    sourceCompatibility = JavaVersion.VERSION_1_8
 | 
					    sourceCompatibility = JavaVersion.VERSION_17
 | 
				
			||||||
    targetCompatibility = JavaVersion.VERSION_1_8
 | 
					    targetCompatibility = JavaVersion.VERSION_17
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
apply from: "$defaultAndroidSettingsPresetPath"
 | 
					apply from: "$defaultAndroidSettingsPresetPath"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user