diff --git a/android/dependencies.gradle b/android/dependencies.gradle new file mode 100644 index 0000000000..c127fac185 --- /dev/null +++ b/android/dependencies.gradle @@ -0,0 +1,3 @@ +ext.libs = [ + junit : "junit:junit:4.13" +] \ No newline at end of file diff --git a/java_console/io/build.gradle b/java_console/io/build.gradle index 9c8c3462b1..deaa80fbf4 100644 --- a/java_console/io/build.gradle +++ b/java_console/io/build.gradle @@ -2,6 +2,8 @@ plugins { id 'java' } +apply from: '../../android/dependencies.gradle' + configurations { all*.exclude group: 'org.hamcrest', module: 'hamcrest-core' } @@ -17,5 +19,5 @@ dependencies { implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.12' - testImplementation group: 'junit', name: 'junit', version: '4.8.2' + testImplementation libs.junit } \ No newline at end of file