-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
33 additions
and
28 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,3 +0,0 @@ | ||
COMPILE_SDK_VERSION=25 | ||
BUILD_TOOLS_VERSION=25.0.2 | ||
SUPPORT_LIBS_VERSION=25.3.1 | ||
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,6 +1,6 @@ | ||
#Wed Apr 19 17:53:27 CST 2017 | ||
#Wed Feb 06 12:46:10 CST 2019 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip |
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,22 +1,28 @@ | ||
apply plugin: 'com.android.library' | ||
apply plugin: 'com.github.dcendents.android-maven' | ||
|
||
group='com.github.nekocode' | ||
apply plugin: "com.android.library" | ||
apply plugin: "com.github.dcendents.android-maven" | ||
|
||
android { | ||
compileSdkVersion COMPILE_SDK_VERSION.toInteger() | ||
buildToolsVersion BUILD_TOOLS_VERSION | ||
|
||
compileSdkVersion 28 | ||
defaultConfig { | ||
minSdkVersion 11 | ||
targetSdkVersion 25 | ||
targetSdkVersion 28 | ||
} | ||
lintOptions { | ||
abortOnError false | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
provided "com.android.support:support-annotations:$SUPPORT_LIBS_VERSION" | ||
implementation fileTree(dir: "libs", include: ["*.jar"]) | ||
compileOnly "com.android.support:support-annotations:28.0.0" | ||
} | ||
|
||
task androidSourcesJar(type: Jar) { | ||
classifier = "sources" | ||
baseName = archivesBaseName | ||
from android.sourceSets.main.java.srcDirs | ||
} | ||
|
||
artifacts { | ||
archives androidSourcesJar | ||
} |
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,26 +1,24 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: "com.android.application" | ||
|
||
android { | ||
compileSdkVersion COMPILE_SDK_VERSION.toInteger() | ||
buildToolsVersion BUILD_TOOLS_VERSION | ||
|
||
compileSdkVersion 28 | ||
defaultConfig { | ||
applicationId "cn.nekocode.badge.sample" | ||
minSdkVersion 15 | ||
targetSdkVersion 25 | ||
targetSdkVersion 28 | ||
versionCode 1 | ||
versionName "1.0" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
compile project(":lib-badge") | ||
compile "com.android.support:appcompat-v7:$SUPPORT_LIBS_VERSION" | ||
implementation fileTree(dir: "libs", include: ["*.jar"]) | ||
implementation project(":lib-badge") | ||
implementation "com.android.support:appcompat-v7:28.0.0" | ||
} |