diff --git a/build.gradle b/build.gradle index a7aaba1..d35a667 100644 --- a/build.gradle +++ b/build.gradle @@ -32,5 +32,7 @@ ext { googleAutoServiceVersion = '1.0-rc6' squareupJavaPoetVersion = '1.11.1' + junitVersion = '4.12' + wellSqlAnnotationsProjectDependency = project.hasProperty("wellSqlAnnotationsVersion") ? "org.wordpress.wellsql:wellsql-annotations:${project.getProperty("wellSqlAnnotationsVersion")}" : project(":well-annotations") } diff --git a/well-sample/build.gradle b/well-sample/build.gradle index 19d45f1..c677bdf 100644 --- a/well-sample/build.gradle +++ b/well-sample/build.gradle @@ -32,6 +32,6 @@ dependencies { annotationProcessor project(':well-processor') implementation "androidx.appcompat:appcompat:1.3.1" - testImplementation 'junit:junit:4.12' + testImplementation "junit:junit:$junitVersion" androidTestImplementation "androidx.test:runner:1.5.2" } diff --git a/wellsql/build.gradle b/wellsql/build.gradle index 76313df..1ae3b25 100644 --- a/wellsql/build.gradle +++ b/wellsql/build.gradle @@ -24,7 +24,7 @@ android { dependencies { api wellSqlAnnotationsProjectDependency implementation "androidx.annotation:annotation:$androidxAnnotationVersion" - testImplementation 'junit:junit:4.12' + testImplementation "junit:junit:$junitVersion" } project.afterEvaluate {