mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-29 21:37:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			838 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			838 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| plugins {
 | |
|     id("mihon.library")
 | |
|     kotlin("android")
 | |
|     kotlin("plugin.serialization")
 | |
|     alias(libs.plugins.sqldelight)
 | |
| }
 | |
| 
 | |
| android {
 | |
|     namespace = "tachiyomi.data"
 | |
| 
 | |
|     defaultConfig {
 | |
|         consumerProguardFiles("consumer-rules.pro")
 | |
|     }
 | |
| 
 | |
|     sqldelight {
 | |
|         databases {
 | |
|             create("Database") {
 | |
|                 packageName.set("tachiyomi.data")
 | |
|                 dialect(libs.sqldelight.dialects.sql)
 | |
|                 schemaOutputDirectory.set(project.file("./src/main/sqldelight"))
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | |
| kotlin {
 | |
|     compilerOptions {
 | |
|         freeCompilerArgs.add("-opt-in=kotlinx.serialization.ExperimentalSerializationApi")
 | |
|     }
 | |
| }
 | |
| 
 | |
| dependencies {
 | |
|     implementation(projects.sourceApi)
 | |
|     implementation(projects.domain)
 | |
|     implementation(projects.core.common)
 | |
| 
 | |
|     api(libs.bundles.sqldelight)
 | |
| }
 |