mirror of
				https://github.com/InsanusMokrassar/TelegramBotAPI.git
				synced 2025-11-03 21:50:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			798 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			798 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
plugins {
 | 
						|
    id "org.jetbrains.kotlin.multiplatform"
 | 
						|
    id "org.jetbrains.kotlin.plugin.serialization"
 | 
						|
    id "org.jetbrains.dokka"
 | 
						|
    id "com.google.devtools.ksp"
 | 
						|
}
 | 
						|
 | 
						|
project.description = "API extensions with \"Telegram Bot API\"-like extensions for TelegramBot and RequestsExecutor"
 | 
						|
 | 
						|
apply from: "$mppProjectWithSerialization"
 | 
						|
apply from: "$mpp_publish"
 | 
						|
 | 
						|
kotlin {
 | 
						|
    sourceSets {
 | 
						|
        commonMain {
 | 
						|
            dependencies {
 | 
						|
                api project(":tgbotapi.core")
 | 
						|
                api libs.microutils.ksp.variations
 | 
						|
            }
 | 
						|
        }
 | 
						|
        configureEach {
 | 
						|
            languageSettings.optIn("kotlinx.serialization.ExperimentalSerializationApi")
 | 
						|
        }
 | 
						|
    }
 | 
						|
    explicitApi()
 | 
						|
}
 | 
						|
 | 
						|
dependencies {
 | 
						|
    add("kspCommonMainMetadata", libs.microutils.ksp.variations.generator)
 | 
						|
}
 | 
						|
 |