Skip to content

Commit cf98f33

Browse files
committed
Jar not like android xml. Return to aar
1 parent 84ba084 commit cf98f33

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

app/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ android {
2727
dependencies {
2828
compile fileTree(dir: 'libs', include: ['*.jar'])
2929
compile project(path: ':sheetmenu')
30+
// compile 'com.github.whalemare:sheetmenu:1.3.1@aar'
3031
compile 'com.android.support:appcompat-v7:25.3.1'
3132
compile 'com.android.support.constraint:constraint-layout:1.0.2'
33+
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
34+
}
35+
repositories {
36+
mavenCentral()
3237
}

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.1.2-4'
5-
ext.app_version = "1.3.1"
4+
ext.kotlin_version = '1.1.2-5'
5+
ext.app_version = "1.3.2"
66
repositories {
77
jcenter()
88
}

sheetmenu/build.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,3 @@ artifacts {
6464
archives sourcesJar
6565
archives javadocJar
6666
}
67-
68-
// uncomment to build a jar file in addition to the default aar file
69-
android.libraryVariants.all { variant ->
70-
def name = variant.buildType.name
71-
def task = project.tasks.create "jar${name.capitalize()}", Jar
72-
task.dependsOn variant.javaCompile
73-
task.from variant.javaCompile.destinationDir
74-
artifacts.add('archives', task);
75-
}

0 commit comments

Comments
 (0)