Declare common dependency versions in root gradle

This commit is contained in:
TacoTheDank 2021-08-07 17:51:09 -04:00
parent 71b9fd0076
commit cf9e678223
3 changed files with 12 additions and 6 deletions

View File

@ -15,6 +15,12 @@ allprojects {
jcenter() jcenter()
maven { url "https://jitpack.io" } maven { url "https://jitpack.io" }
} }
ext {
nanojsonVersion = "1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751"
spotbugsVersion = "4.2.3"
junitVersion = "4.13.2"
}
} }
dependencies { dependencies {

View File

@ -8,13 +8,13 @@ test {
dependencies { dependencies {
implementation project(':timeago-parser') implementation project(':timeago-parser')
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751' implementation "com.github.TeamNewPipe:nanojson:$nanojsonVersion"
implementation 'org.jsoup:jsoup:1.13.1' implementation 'org.jsoup:jsoup:1.13.1'
implementation 'org.mozilla:rhino:1.7.13' implementation 'org.mozilla:rhino:1.7.13'
implementation 'com.github.spotbugs:spotbugs-annotations:4.2.3' implementation "com.github.spotbugs:spotbugs-annotations:$spotbugsVersion"
implementation 'org.nibor.autolink:autolink:0.10.0' implementation 'org.nibor.autolink:autolink:0.10.0'
testImplementation 'junit:junit:4.13.2' testImplementation "junit:junit:$junitVersion"
testImplementation "com.squareup.okhttp3:okhttp:3.12.13" testImplementation "com.squareup.okhttp3:okhttp:3.12.13"
testImplementation 'com.google.code.gson:gson:2.8.7' testImplementation 'com.google.code.gson:gson:2.8.7'
} }

View File

@ -1,6 +1,6 @@
dependencies { dependencies {
testImplementation 'junit:junit:4.13.1' testImplementation "junit:junit:$junitVersion"
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751' implementation "com.github.TeamNewPipe:nanojson:$nanojsonVersion"
implementation 'com.github.spotbugs:spotbugs-annotations:4.2.3' implementation "com.github.spotbugs:spotbugs-annotations:$spotbugsVersion"
} }