mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2025-12-01 02:25:39 +00:00
improvements
This commit is contained in:
23
template/build.gradle
Normal file
23
template/build.gradle
Normal file
@@ -0,0 +1,23 @@
|
||||
plugins {
|
||||
id "org.jetbrains.kotlin.multiplatform"
|
||||
id "org.jetbrains.kotlin.plugin.serialization"
|
||||
id "com.android.library"
|
||||
}
|
||||
|
||||
apply from: "$mppProjectWithSerializationPresetPath"
|
||||
|
||||
kotlin {
|
||||
sourceSets {
|
||||
commonMain {
|
||||
dependencies {
|
||||
api libs.tgbotapi
|
||||
api libs.microutils.repos.common
|
||||
api libs.kslog
|
||||
}
|
||||
}
|
||||
jvmMain {
|
||||
dependencies {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1
template/src/commonMain/kotlin/PackageInfo.kt
Normal file
1
template/src/commonMain/kotlin/PackageInfo.kt
Normal file
@@ -0,0 +1 @@
|
||||
package dev.inmo.plaguposter.template
|
||||
11
template/src/jvmMain/kotlin/Plugin.kt
Normal file
11
template/src/jvmMain/kotlin/Plugin.kt
Normal file
@@ -0,0 +1,11 @@
|
||||
package dev.inmo.plaguposter.template
|
||||
|
||||
import dev.inmo.plagubot.Plugin
|
||||
import kotlinx.serialization.json.*
|
||||
import org.jetbrains.exposed.sql.Database
|
||||
import org.koin.core.module.Module
|
||||
|
||||
object Plugin : Plugin {
|
||||
override fun Module.setupDI(database: Database, params: JsonObject) {
|
||||
}
|
||||
}
|
||||
1
template/src/main/AndroidManifest.xml
Normal file
1
template/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1 @@
|
||||
<manifest package="dev.inmo.plaguposter.template"/>
|
||||
Reference in New Issue
Block a user