-
Notifications
You must be signed in to change notification settings - Fork 23
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 #14 from 2BAB/dev
Release 3.1.0
- Loading branch information
Showing
22 changed files
with
321 additions
and
277 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,3 @@ | ||
buildscript { | ||
|
||
val props = java.util.Properties() | ||
file("./seal/buildSrc/src/main/resources/versions.properties").inputStream().use { props.load(it) } | ||
|
||
repositories { | ||
google() | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
|
||
dependencies { | ||
classpath(kotlin("gradle-plugin", version = props["kotlinVersion"]?.toString())) | ||
classpath("com.android.tools.build:gradle:${props["agpVersion"]?.toString()}") | ||
classpath("me.2bab:seal:+") | ||
} | ||
|
||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
} | ||
|
||
task("clean") { | ||
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,21 @@ | ||
[versions] | ||
kotlinVer = "1.5.31" | ||
agpVer = "7.0.3" | ||
polyfillVer = "0.4.0" | ||
mockitoVer = "3.9.0" | ||
|
||
[libraries] | ||
android-gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "agpVer" } | ||
kotlin-std = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlinVer" } | ||
kotlin-serialization = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core-jvm", version = "1.3.1" } | ||
polyfill-main = { module = "me.2bab:polyfill", version.ref = "polyfillVer" } | ||
polyfill-manifest = { module = "me.2bab:polyfill-manifest", version.ref = "polyfillVer" } | ||
fastJson = { module = "com.alibaba:fastjson", version = "1.2.73" } | ||
zip4j = { module = "net.lingala.zip4j:zip4j", version = "2.6.2" } | ||
junit = { module = "junit:junit", version = "4.12" } | ||
mockito = { module = "org.mockito:mockito-core", version.ref = "mockitoVer" } | ||
mockitoInline = { module = "org.mockito:mockito-inline", version.ref = "mockitoVer" } | ||
|
||
[bundles] | ||
|
||
[plugins] |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
zipStorePath=wrapper/dists |
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 |
---|---|---|
@@ -1,24 +1,4 @@ | ||
buildscript { | ||
val props = java.util.Properties() | ||
file("./buildSrc/src/main/resources/versions.properties").inputStream().use { props.load(it) } | ||
|
||
repositories { | ||
google() | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
|
||
dependencies { | ||
classpath(kotlin("gradle-plugin", version = props["kotlinVersion"]?.toString())) | ||
} | ||
} | ||
|
||
allprojects { | ||
group = "me.2bab" | ||
version = BuildConfig.Versions.sealVersion | ||
repositories { | ||
mavenCentral() | ||
google() | ||
mavenLocal() | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,30 +1,7 @@ | ||
import java.util.* | ||
|
||
object BuildConfig { | ||
|
||
val props = Properties() | ||
|
||
init { | ||
javaClass.classLoader.getResourceAsStream("versions.properties") | ||
.use { props.load(it) } | ||
} | ||
|
||
object Versions { | ||
val sealVersion by lazy { props["sealVersion"].toString() } | ||
} | ||
|
||
object Deps { | ||
const val ktStd = "stdlib-jdk8" | ||
val agp by lazy { "com.android.tools.build:gradle:${props["agpVersion"]}" } | ||
const val polyfill = "me.2bab:polyfill:0.2.1" | ||
|
||
// Test | ||
const val junit = "junit:junit:4.12" | ||
const val mockito = "org.mockito:mockito-core:3.9.0" | ||
const val mockitoInline = "org.mockito:mockito-inline:3.9.0" | ||
|
||
const val fastJson = "com.alibaba:fastjson:1.2.73" | ||
const val zip4j = "net.lingala.zip4j:zip4j:2.6.2" | ||
const val sealVersion = "3.1.0" | ||
} | ||
|
||
} |
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
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 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.