-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1715 from agrosner/develop
5.0.0-alpha2
- Loading branch information
Showing
325 changed files
with
8,530 additions
and
6,322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# .github | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
google() | ||
gradlePluginPortal() | ||
} | ||
dependencies { | ||
classpath("com.android.tools.build:gradle:4.1.2") | ||
classpath("com.github.dcendents:android-maven-gradle-plugin:2.1") | ||
classpath("com.getkeepsafe.dexcount:dexcount-gradle-plugin:2.0.0") | ||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.Kotlin}") | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
google() | ||
maven(url = "https://www.jitpack.io") | ||
} | ||
} | ||
|
||
tasks.register("clean", Delete::class) { | ||
delete(rootProject.buildDir) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
jcenter() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
object Versions { | ||
const val Kotlin = "1.4.21" | ||
const val TargetSdk = 28 | ||
const val MinSdk = 7 | ||
const val MinSdkRX = 16 | ||
const val SQLCipherMin = 7 | ||
const val ArchMin = 14 | ||
} | ||
|
||
object Dependencies { | ||
const val SqlCipher = "net.zetetic:android-database-sqlcipher:4.4.2" | ||
const val RX = "io.reactivex.rxjava3:rxjava:3.0.4" | ||
const val Coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2" | ||
const val JavaPoet = "com.squareup:javapoet:1.11.1" | ||
const val KPoet = "com.github.agrosner:KPoet:1.0.0" | ||
const val JavaXAnnotation = "org.glassfish:javax.annotation:10.0-b28" | ||
const val JUnit = "junit:junit:4.12" | ||
|
||
object AndroidX { | ||
const val Annotations = "androidx.annotation:annotation:1.1.0" | ||
const val LiveData = "androidx.lifecycle:lifecycle-livedata:2.2.0" | ||
const val Paging = "androidx.paging:paging-runtime:2.1.2" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
plugins { | ||
kotlin("jvm") | ||
} | ||
|
||
// project.ext.artifactId = bt_name | ||
|
||
tasks.withType<KotlinCompile> { | ||
kotlinOptions.jvmTarget = "1.8" | ||
} | ||
|
||
dependencies { | ||
api(project(":core")) | ||
} | ||
|
||
apply(from = "../kotlin-artifacts.gradle") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
plugins { | ||
id("com.android.library") | ||
kotlin("android") | ||
} | ||
|
||
// project.ext.artifactId = bt_name | ||
|
||
android { | ||
compileSdkVersion(Versions.TargetSdk) | ||
|
||
defaultConfig { | ||
minSdkVersion(Versions.MinSdk) | ||
targetSdkVersion(Versions.TargetSdk) | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
sourceSets { | ||
getByName("main").java.srcDirs("src/main/kotlin") | ||
} | ||
} | ||
|
||
dependencies { | ||
api(project(":lib")) | ||
api(project(":contentprovider-annotations")) | ||
api(Dependencies.AndroidX.Annotations) | ||
} | ||
|
||
apply(from = "../kotlin-artifacts.gradle") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.