File tree Expand file tree Collapse file tree 5 files changed +14
-6
lines changed Expand file tree Collapse file tree 5 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 13
13
// limitations under the License.
14
14
15
15
apply plugin : ' com.android.application'
16
+ apply plugin : ' kotlin-android'
16
17
apply from : " $rootDir /dependencies.gradle"
17
18
18
19
android {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
- <color name =" colorPrimary" >#F50057 </color >
3
+ <color name =" colorPrimary" >#FFF50057 </color >
4
4
<color name =" colorPrimaryDark" >#C51162</color >
5
5
<color name =" colorAccent" >#3d95c9</color >
6
6
<color name =" background" >#2B292B</color >
Original file line number Diff line number Diff line change @@ -16,18 +16,22 @@ buildscript {
16
16
apply from : " $rootDir /dependencies.gradle"
17
17
repositories {
18
18
jcenter()
19
+ mavenCentral()
19
20
google()
20
21
}
21
22
dependencies {
22
23
classpath " com.android.tools.build:gradle:$versions . gradleBuildTool "
24
+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$versions . kotlin "
23
25
classpath " com.diffplug.spotless:spotless-plugin-gradle:$versions . spotlessGradle "
24
- classpath " com.jfrog.bintray.gradle:gradle-bintray-plugin:$versions . bintrayPlugin "
26
+ classpath " com.vanniktech:gradle-maven-publish-plugin:$versions . mavenPublish "
27
+ classpath " org.jetbrains.dokka:dokka-gradle-plugin:$versions . dokkaGradle "
25
28
}
26
29
}
27
30
28
31
allprojects {
29
32
repositories {
30
33
jcenter()
34
+ mavenCentral()
31
35
google()
32
36
}
33
37
}
Original file line number Diff line number Diff line change 13
13
// limitations under the License.
14
14
15
15
apply plugin : ' com.android.library'
16
+ apply plugin : ' kotlin-android'
16
17
apply from : " $rootDir /dependencies.gradle"
17
- apply from : " $rootDir /publish.gradle"
18
18
19
19
android {
20
20
compileSdkVersion versions. compileSdk
Original file line number Diff line number Diff line change @@ -18,10 +18,13 @@ ext.versions = [
18
18
versionoCode : 26 ,
19
19
versionName : ' 2.2.2' ,
20
20
21
- gradleBuildTool : ' 4.1.0' ,
22
- spotlessGradle : ' 5.8.0' ,
23
- bintrayPlugin : ' 1.8.5' ,
21
+ gradleBuildTool : ' 4.1.1' ,
22
+ spotlessGradle : ' 5.9.0' ,
23
+ ktlintGradle : ' 0.40.0' ,
24
+ dokkaGradle : ' 1.4.20' ,
25
+ mavenPublish : ' 0.13.0' ,
24
26
27
+ kotlin : ' 1.4.20' ,
25
28
androidxAppcompat : ' 1.2.0' ,
26
29
27
30
// for demo
You can’t perform that action at this time.
0 commit comments