mirror of
				https://github.com/JakeWharton/mosaic.git
				synced 2025-10-31 18:58:37 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			760 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			760 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| apply plugin: 'org.jetbrains.kotlin.multiplatform'
 | |
| apply plugin: 'org.jetbrains.kotlin.plugin.compose'
 | |
| apply from: "$rootDir/addAllTargets.gradle"
 | |
| apply from: "$rootDir/publish.gradle"
 | |
| apply plugin: 'dev.drewhamilton.poko'
 | |
| apply plugin: 'com.jakewharton.mosaic.build'
 | |
| 
 | |
| mosaicBuild {
 | |
| 	patchJavaModuleWithKotlinClasses('mosaic.testing')
 | |
| }
 | |
| 
 | |
| kotlin {
 | |
| 	explicitApi()
 | |
| 
 | |
| 	sourceSets {
 | |
| 		commonMain {
 | |
| 			dependencies {
 | |
| 				api projects.mosaicRuntime
 | |
| 				api libs.kotlinx.coroutines.core
 | |
| 				implementation libs.androidx.collection
 | |
| 			}
 | |
| 		}
 | |
| 		commonTest {
 | |
| 			dependencies {
 | |
| 				implementation libs.kotlin.test
 | |
| 				implementation libs.kotlinx.coroutines.test
 | |
| 				implementation libs.assertk
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| 
 | |
| 	compilerOptions.freeCompilerArgs.add('-Xexpect-actual-classes')
 | |
| }
 | 
