File tree Expand file tree Collapse file tree 9 files changed +114
-97
lines changed Expand file tree Collapse file tree 9 files changed +114
-97
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id(" com.android.application" )
3
+ id(" jacoco-android" )
4
+ id(" kotlin-android" )
5
+ id(" kotlin-android-extensions" )
6
+ }
7
+
8
+ android {
9
+ setCompileSdkVersion(AndroidModuleSpecs .compileSdkVersion)
10
+
11
+ defaultConfig {
12
+ setTargetSdkVersion(AndroidModuleSpecs .targetSdkVersion)
13
+ setMinSdkVersion(19 )
14
+ versionCode = 1
15
+ versionName = " 1.0.0"
16
+ testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
17
+ }
18
+ buildTypes {
19
+ maybeCreate(" release" ).apply {
20
+ isMinifyEnabled = true
21
+ proguardFiles(getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro" )
22
+ }
23
+ }
24
+ }
25
+
26
+ repositories {
27
+ maven(url = " https://jitpack.io" )
28
+ }
29
+
30
+ dependencies {
31
+ val kotlinVersion: String by project
32
+ implementation(project(" :avvylib" ))
33
+ implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion " )
34
+ implementation(" androidx.appcompat:appcompat:1.2.0" )
35
+ implementation(" androidx.exifinterface:exifinterface:1.3.0" )
36
+ implementation(" androidx.constraintlayout:constraintlayout:2.0.2" )
37
+ implementation(" com.github.QuadFlask:colorpicker:0.0.13" )
38
+ implementation(" com.xw.repo:bubbleseekbar:3.19" )
39
+ implementation(" com.squareup.picasso:picasso:2.71828" )
40
+ testImplementation(" junit:junit:4.12" )
41
+ androidTestImplementation(" androidx.test:core:1.3.0" )
42
+ androidTestImplementation(" androidx.test.espresso:espresso-core:3.3.0" )
43
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id(" com.android.library" )
3
+ id(" kotlin-android" )
4
+ id(" jacoco-android" )
5
+ id(" com.github.panpf.bintray-publish" )
6
+ }
7
+ val kotlinVersion: String by project
8
+ val version = " 1.1.0"
9
+ android {
10
+ setCompileSdkVersion(AndroidModuleSpecs .compileSdkVersion)
11
+
12
+ defaultConfig {
13
+ setTargetSdkVersion(AndroidModuleSpecs .targetSdkVersion)
14
+ setMinSdkVersion(AndroidModuleSpecs .minSdkVersion)
15
+ versionCode = 1
16
+ versionName = version
17
+ testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
18
+ }
19
+
20
+ buildTypes {
21
+ maybeCreate(" release" ).apply {
22
+ isMinifyEnabled = true
23
+ proguardFiles(getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro" )
24
+ }
25
+ }
26
+ }
27
+
28
+ configure< com.github.panpf.bintray.publish.PublishExtension > {
29
+ userOrg = " vitorhugods"
30
+ repoName = " AvatarView"
31
+ groupId = " xyz.schwaab"
32
+ artifactId = " avvylib"
33
+ publishVersion = version
34
+ desc = " A circular ImageView with border, progress animation and customizable highlights for Android"
35
+ website = " https://github.com/vitorhugods/AvatarView"
36
+ }
37
+
38
+ repositories {
39
+ mavenCentral()
40
+ }
41
+
42
+ dependencies {
43
+ compileOnly(" androidx.annotation:annotation:1.1.0" )
44
+ implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion " )
45
+ testImplementation(" junit:junit:4.12" )
46
+ androidTestImplementation(" androidx.test:core:1.3.0" )
47
+ androidTestImplementation(" androidx.test.espresso:espresso-core:3.3.0" )
48
+ }
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
3
3
buildscript {
4
- ext. kotlin_version = ' 1.3.61 '
4
+ ext. kotlinVersion = ' 1.4.10 '
5
5
repositories {
6
6
google()
7
7
jcenter()
8
8
maven { url ' https://maven.google.com' }
9
+ maven { url ' https://oss.jfrog.org/artifactory/oss-snapshot-local' }
9
10
}
10
11
dependencies {
11
- classpath ' com.android.tools.build:gradle:3.6.0'
12
- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
13
- classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
14
- classpath ' com.dicedmelon.gradle:jacoco-android:0.1.4'
15
- classpath ' com.novoda:bintray-release:0.9.2'
12
+ classpath ' com.android.tools.build:gradle:4.0.2'
13
+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
14
+ classpath ' com.dicedmelon.gradle:jacoco-android:0.1.5-SNAPSHOT'
15
+ classpath ' com.github.panpf.bintray-publish:bintray-publish:1.0.0'
16
16
// NOTE: Do not place your application dependencies here; they belong
17
17
// in the individual module build.gradle files
18
18
}
Original file line number Diff line number Diff line change
1
+ /build
2
+ /.gradle
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ `kotlin- dsl`
3
+ }
4
+
5
+ repositories {
6
+ jcenter()
7
+ google()
8
+ }
Original file line number Diff line number Diff line change
1
+ object AndroidModuleSpecs {
2
+ const val compileSdkVersion = 30
3
+ const val targetSdkVersion = 30
4
+ const val minSdkVersion = 14
5
+ }
Original file line number Diff line number Diff line change 1
- # Mon Feb 24 16:48:46 CET 2020
1
+ # Sun Oct 11 23:02:27 CEST 2020
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-5.6.4 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.3 -all.zip
You can’t perform that action at this time.
0 commit comments