update libraries and dependencies's version

This commit is contained in:
hyb1996
2018-10-06 10:12:29 +08:00
parent 9d1fdf3fe9
commit 4851790ad9
20 changed files with 155 additions and 115 deletions

View File

@@ -1,12 +1,12 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 25
buildToolsVersion '26.0.2'
compileSdkVersion versions.compile
buildToolsVersion versions.buildTool
defaultConfig {
minSdkVersion 17
targetSdkVersion 25
minSdkVersion versions.mini
targetSdkVersion versions.target
versionCode 1
versionName "1.0"
@@ -23,10 +23,10 @@ android {
}
dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
compile 'com.android.support:support-annotations:25.4.0'
compile 'com.github.hyb1996:settingscompat:1.1.5'
testImplementation 'junit:junit:4.12'
api 'com.android.support:support-annotations:28.0.0'
api 'com.github.hyb1996:settingscompat:1.1.5'
}

View File

@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":421},"path":"commonRelease-4.0.3 Alpha2.apk","properties":{"packageId":"org.autojs.autojs","split":"","minSdkVersion":"17"}}]
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":423},"path":"commonRelease-4.0.3 Alpha4.apk","properties":{"packageId":"org.autojs.autojs","split":"","minSdkVersion":"17"}}]

View File

@@ -0,0 +1,16 @@
package com.stardust.util;
public class ObjectHelper {
public static void requireNonNull(Object obj, String name){
if(obj == null){
throw new NullPointerException(name + " should not be null");
}
}
public static void requireNonNull(Object obj){
if(obj == null){
throw new NullPointerException();
}
}
}