Skip to content

Commit ace5f33

Browse files
committed
fix gitpack build
1 parent fc97d74 commit ace5f33

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

cslibrary/build.gradle

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ apply plugin: 'kotlin-android'
55
apply plugin: 'kotlin-android-extensions'
66

77
repositories {
8+
google()
9+
jcenter()
810
maven { url "https://jitpack.io" }
911
}
1012

@@ -22,17 +24,23 @@ android {
2224
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2325
}
2426
}
25-
2627
buildToolsVersion '28.0.3'
2728
}
2829

29-
30-
31-
3230
dependencies {
3331
implementation fileTree(include: ['*.jar'], dir: 'libs')
3432
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
3533
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
3634
implementation 'androidx.appcompat:appcompat:1.1.0'
3735

3836
}
37+
38+
39+
40+
task classesJar(type: Jar) {
41+
from "$buildDir/intermediates/classes/release"
42+
}
43+
44+
artifacts {
45+
archives classesJar
46+
}

0 commit comments

Comments
 (0)