Add gradle configuration for MacOS release.
This commit is contained in:
		
							parent
							
								
									bf57839242
								
							
						
					
					
						commit
						5bc8706972
					
				
					 1 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
					@ -36,15 +36,21 @@ kotlin {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// https://github.com/JetBrains/compose-multiplatform/blob/master/tutorials/Native_distributions_and_local_execution/README.md#basic-usage
 | 
				
			||||||
compose.desktop {
 | 
					compose.desktop {
 | 
				
			||||||
    application {
 | 
					    application {
 | 
				
			||||||
        mainClass = "com.pixelized.desktop.lwa.MainKt"
 | 
					        mainClass = "com.pixelized.desktop.lwa.MainKt"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        nativeDistributions {
 | 
					        nativeDistributions {
 | 
				
			||||||
            targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
 | 
					            targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
 | 
				
			||||||
            packageName = "com.pixelized.desktop.lwa"
 | 
					
 | 
				
			||||||
 | 
					            packageName = "Table de Lwa"
 | 
				
			||||||
            packageVersion = "1.0.0"
 | 
					            packageVersion = "1.0.0"
 | 
				
			||||||
 | 
					            description = "Application de support au jeux de rôle dans l'univers de Lwa."
 | 
				
			||||||
 | 
					            copyright = "© 2020 Pixelized. All rights reserved."
 | 
				
			||||||
 | 
					            vendor = "Pixelized"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            includeAllModules = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // Use system theming fot the app toolbars.
 | 
					            // Use system theming fot the app toolbars.
 | 
				
			||||||
            jvmArgs("-Dapple.awt.application.appearance=system")
 | 
					            jvmArgs("-Dapple.awt.application.appearance=system")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue