Skip to content

Commit

Permalink
msubpc, msys, zcm implemented. doujin still remain player.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyawhtut-cu committed Sep 14, 2021
0 parents commit ae53ca4
Show file tree
Hide file tree
Showing 459 changed files with 28,954 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

139 changes: 139 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
val kotlin_version by extra("1.4.32")
repositories {
google()
jcenter()
}
dependencies {
classpath(Libs.gradleAndroid)
classpath(Libs.kotlin)
classpath(Libs.googleService)
classpath(Libs.firebaseCrashlyticsService)
classpath(Libs.dagger)
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle.kts files
}
}

allprojects {
repositories {
google()
jcenter()
maven("https://jitpack.io")
}
}

tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
2 changes: 2 additions & 0 deletions buildSrc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/build
.gradle
15 changes: 15 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
plugins {
`kotlin-dsl`
}

val kotlinVersion = "1.4.32"

repositories {
google()
jcenter()
}

dependencies {
implementation("com.android.tools.build:gradle:4.1.1")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
49 changes: 49 additions & 0 deletions buildSrc/src/main/java/BuildConfig.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import com.android.build.gradle.internal.dsl.BaseFlavor
import com.android.build.gradle.internal.dsl.BuildType

/*
* BuildType Ext
*/
fun BuildType.buildConfigInt(name: String, value: Int) = buildConfigField("int", name, "$value")

fun BuildType.buildConfigDouble(name: String, value: Double) =
buildConfigField("double", name, "$value")

fun BuildType.buildConfigFloat(name: String, value: Float) =
buildConfigField("float", name, "$value")

fun BuildType.buildConfigLong(name: String, value: Long) =
buildConfigField("long", name, "$value")

fun BuildType.buildConfigString(name: String, value: String) =
buildConfigField("String", name, "\"${value}\"")

fun BuildType.buildConfigBoolean(name: String, value: Boolean) =
buildConfigField("boolean", name, "$value")

fun BuildType.buildConfigByteArray(name: String, value: String) =
buildConfigField("Byte[]", name, value)

/*
* BaseFlavor Ext
*/

fun BaseFlavor.buildConfigInt(name: String, value: Int) = buildConfigField("int", name, "$value")

fun BaseFlavor.buildConfigDouble(name: String, value: Double) =
buildConfigField("double", name, "$value")

fun BaseFlavor.buildConfigFloat(name: String, value: Float) =
buildConfigField("float", name, "$value")

fun BaseFlavor.buildConfigLong(name: String, value: Long) =
buildConfigField("long", name, "$value")

fun BaseFlavor.buildConfigString(name: String, value: String) =
buildConfigField("String", name, "\"${value}\"")

fun BaseFlavor.buildConfigBoolean(name: String, value: Boolean) =
buildConfigField("boolean", name, "$value")

fun BaseFlavor.buildConfigByteArray(name: String, value: String) =
buildConfigField("Byte[]", name, value)
Loading

0 comments on commit ae53ca4

Please sign in to comment.