mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 22:37:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| plugins {
 | |
|     id("mihon.library")
 | |
|     id("mihon.library.compose")
 | |
|     kotlin("android")
 | |
| }
 | |
| 
 | |
| android {
 | |
|     namespace = "tachiyomi.presentation.core"
 | |
| 
 | |
|     defaultConfig {
 | |
|         testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
 | |
|         consumerProguardFiles("consumer-rules.pro")
 | |
|     }
 | |
| }
 | |
| 
 | |
| kotlin {
 | |
|     compilerOptions {
 | |
|         freeCompilerArgs.addAll(
 | |
|             "-opt-in=androidx.compose.animation.ExperimentalAnimationApi",
 | |
|             "-opt-in=androidx.compose.animation.graphics.ExperimentalAnimationGraphicsApi",
 | |
|             "-opt-in=androidx.compose.foundation.ExperimentalFoundationApi",
 | |
|             "-opt-in=androidx.compose.foundation.layout.ExperimentalLayoutApi",
 | |
|             "-opt-in=androidx.compose.material3.ExperimentalMaterial3Api",
 | |
|             "-opt-in=androidx.compose.ui.ExperimentalComposeUiApi",
 | |
|             "-opt-in=kotlinx.coroutines.FlowPreview",
 | |
|         )
 | |
|     }
 | |
| }
 | |
| 
 | |
| dependencies {
 | |
|     api(projects.core.common)
 | |
|     api(projects.i18n)
 | |
| 
 | |
|     // Compose
 | |
|     implementation(compose.activity)
 | |
|     implementation(compose.foundation)
 | |
|     implementation(compose.material3.core)
 | |
|     implementation(compose.material.icons)
 | |
|     implementation(compose.animation)
 | |
|     implementation(compose.animation.graphics)
 | |
|     debugImplementation(compose.ui.tooling)
 | |
|     implementation(compose.ui.tooling.preview)
 | |
|     implementation(compose.ui.util)
 | |
| 
 | |
|     implementation(androidx.paging.runtime)
 | |
|     implementation(androidx.paging.compose)
 | |
|     implementation(kotlinx.immutables)
 | |
| }
 |