-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
4559799
commit f9b9480
Showing
2 changed files
with
84 additions
and
84 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,83 @@ | ||
// Top-level build file where you can add | ||
// configuration options common to all sub-projects/modules. | ||
|
||
// Project level build file starts here | ||
apply plugin: 'eclipse' | ||
apply plugin: 'com.android.application' | ||
|
||
|
||
apply from: 'https://raw.githubusercontent.com/simonpoole/gradle-tasks/master/eclipse-android-3' | ||
// apply from: '../../gradle-tasks/eclipse-android-3-lib' | ||
|
||
allprojects { | ||
repositories { | ||
mavenCentral() | ||
maven { url "https://maven.google.com" } | ||
jcenter() | ||
mavenLocal() | ||
} | ||
} | ||
|
||
configurations.all { | ||
// Check for updates every build | ||
resolutionStrategy.cacheChangingModulesFor 0, 'seconds' | ||
} | ||
|
||
android { | ||
compileSdkVersion 28 | ||
|
||
defaultConfig { | ||
minSdkVersion 14 | ||
targetSdkVersion 28 | ||
versionCode 100 | ||
versionName "1" | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
buildTypes { | ||
debug { | ||
testCoverageEnabled true | ||
} | ||
} | ||
|
||
lintOptions { | ||
// checkReleaseBuilds false | ||
// Or, if you prefer, you can continue to check for errors in release builds, | ||
// but continue the build even when errors are found: | ||
abortOnError false | ||
} | ||
} | ||
|
||
ext { | ||
androidxVersion = "1.0.0" | ||
} | ||
|
||
dependencies { | ||
implementation project(path: ':lib', configuration: 'default') | ||
|
||
implementation "androidx.appcompat:appcompat:1.0.0" | ||
implementation "androidx.recyclerview:recyclerview:1.0.0" | ||
implementation "androidx.preference:preference:1.0.0" | ||
implementation "com.google.android.material:material:1.0.0" | ||
implementation "androidx.annotation:annotation:1.0.0" | ||
implementation "androidx.core:core:1.0.0" | ||
implementation 'cn.carbswang.android:NumberPickerView:1.2.0' | ||
implementation "ch.poole:OpeningHoursParser:0.26.0" | ||
implementation "ch.poole.android:rangebar:0.1.6" | ||
implementation 'cn.carbswang.android:NumberPickerView:1.2.0' | ||
implementation "com.google.code.gson:gson:2.8.5" | ||
|
||
// Instrumentation tests | ||
androidTestImplementation 'androidx.annotation:annotation:1.0.0' | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.1' | ||
androidTestImplementation 'androidx.test:rules:1.1.1' | ||
androidTestImplementation "org.hamcrest:hamcrest-library:1.3" | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' | ||
|
||
// androidTestCompile "com.android.support.test.uiautomator:uiautomator-v18:2.1.2" | ||
} | ||
// Top-level build file where you can add | ||
// configuration options common to all sub-projects/modules. | ||
|
||
// Project level build file starts here | ||
apply plugin: 'eclipse' | ||
apply plugin: 'com.android.application' | ||
|
||
|
||
apply from: 'https://raw.githubusercontent.com/simonpoole/gradle-tasks/master/eclipse-android-3' | ||
// apply from: '../../gradle-tasks/eclipse-android-3-lib' | ||
|
||
allprojects { | ||
repositories { | ||
mavenCentral() | ||
maven { url "https://maven.google.com" } | ||
jcenter() | ||
mavenLocal() | ||
} | ||
} | ||
|
||
configurations.all { | ||
// Check for updates every build | ||
resolutionStrategy.cacheChangingModulesFor 0, 'seconds' | ||
} | ||
|
||
android { | ||
compileSdkVersion 28 | ||
|
||
defaultConfig { | ||
minSdkVersion 16 | ||
targetSdkVersion 28 | ||
versionCode 100 | ||
versionName "1" | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
buildTypes { | ||
debug { | ||
testCoverageEnabled true | ||
} | ||
} | ||
|
||
lintOptions { | ||
// checkReleaseBuilds false | ||
// Or, if you prefer, you can continue to check for errors in release builds, | ||
// but continue the build even when errors are found: | ||
abortOnError false | ||
} | ||
} | ||
|
||
ext { | ||
androidxVersion = "1.0.0" | ||
} | ||
|
||
dependencies { | ||
implementation project(':lib') | ||
|
||
implementation "androidx.appcompat:appcompat:1.0.0" | ||
implementation "androidx.recyclerview:recyclerview:1.0.0" | ||
implementation "androidx.preference:preference:1.0.0" | ||
implementation "com.google.android.material:material:1.0.0" | ||
implementation "androidx.annotation:annotation:1.0.0" | ||
implementation "androidx.core:core:1.0.0" | ||
implementation 'cn.carbswang.android:NumberPickerView:1.2.0' | ||
implementation "ch.poole:OpeningHoursParser:0.26.0" | ||
implementation "ch.poole.android:rangebar:0.1.6" | ||
implementation 'cn.carbswang.android:NumberPickerView:1.2.0' | ||
implementation "com.google.code.gson:gson:2.8.5" | ||
|
||
// Instrumentation tests | ||
androidTestImplementation 'androidx.annotation:annotation:1.0.0' | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.3' | ||
androidTestImplementation 'androidx.test:rules:1.4.0' | ||
androidTestImplementation "org.hamcrest:hamcrest-library:1.3" | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' | ||
|
||
// androidTestCompile "com.android.support.test.uiautomator:uiautomator-v18:2.1.2" | ||
} |