From cee30e69afc8f26527ac2f91d62b7832f5d53d24 Mon Sep 17 00:00:00 2001 From: Chanaka Lakmal Date: Thu, 5 Sep 2019 12:34:40 +0530 Subject: [PATCH] Remove unused encoding module dependencies --- cli/ballerina-cli-utils/build.gradle | 1 - compiler/ballerina-backend-jvm/build.gradle | 1 - .../modules/ballerina-prometheus-extension/build.gradle | 2 -- stdlib/auth/build.gradle | 3 --- stdlib/bir/build.gradle | 2 -- stdlib/cache/build.gradle | 1 - stdlib/config-api/build.gradle | 1 - stdlib/filepath/build.gradle | 1 - stdlib/http/build.gradle | 2 -- stdlib/internal/build.gradle | 2 -- stdlib/jdbc/build.gradle | 2 -- stdlib/jwt/build.gradle | 1 - stdlib/ldap/build.gradle | 1 - stdlib/messaging/kafka/build.gradle | 3 --- stdlib/messaging/nats/build.gradle | 2 -- stdlib/mime/build.gradle | 1 - stdlib/oauth2/build.gradle | 2 -- stdlib/transactions/build.gradle | 2 -- tests/jballerina-integration-test/build.gradle | 1 - 19 files changed, 31 deletions(-) diff --git a/cli/ballerina-cli-utils/build.gradle b/cli/ballerina-cli-utils/build.gradle index 88c2702d6f59..579e8b06ed92 100644 --- a/cli/ballerina-cli-utils/build.gradle +++ b/cli/ballerina-cli-utils/build.gradle @@ -31,7 +31,6 @@ dependencies { implementation project(":ballerina-auth") implementation project(":ballerina-cache") implementation project(":ballerina-config-api") - implementation project(':ballerina-encoding') implementation project(':ballerina-math') implementation project(':ballerina-reflect') implementation project(':ballerina-runtime') diff --git a/compiler/ballerina-backend-jvm/build.gradle b/compiler/ballerina-backend-jvm/build.gradle index 50477182e911..efe89177ad91 100644 --- a/compiler/ballerina-backend-jvm/build.gradle +++ b/compiler/ballerina-backend-jvm/build.gradle @@ -40,7 +40,6 @@ dependencies { baloImplementation project(path: ':ballerina-java', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-reflect', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-internal', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-time', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-system', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-file', configuration: 'baloImplementation') diff --git a/misc/metrics-extensions/modules/ballerina-prometheus-extension/build.gradle b/misc/metrics-extensions/modules/ballerina-prometheus-extension/build.gradle index c8985a620d87..eacb39fefe06 100644 --- a/misc/metrics-extensions/modules/ballerina-prometheus-extension/build.gradle +++ b/misc/metrics-extensions/modules/ballerina-prometheus-extension/build.gradle @@ -42,7 +42,6 @@ dependencies { baloImplementation project(path: ':ballerina-time', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-mime', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-io', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-runtime-api', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-cache', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-task', configuration: 'baloImplementation') @@ -67,7 +66,6 @@ dependencies { implementation project(':ballerina-time') implementation project(':ballerina-mime') implementation project(':ballerina-io') - implementation project(':ballerina-encoding') implementation project(':ballerina-runtime-api') implementation project(':ballerina-cache') implementation project(':ballerina-task') diff --git a/stdlib/auth/build.gradle b/stdlib/auth/build.gradle index 3919bce10ce7..ded73d7f7a44 100644 --- a/stdlib/auth/build.gradle +++ b/stdlib/auth/build.gradle @@ -27,7 +27,6 @@ dependencies { baloImplementation project(path: ":ballerina-runtime-api", configuration: 'baloImplementation') baloImplementation project(path: ":ballerina-system", configuration: 'baloImplementation') baloImplementation project(path: ":ballerina-time", configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-io', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-task', configuration: 'baloImplementation') @@ -46,7 +45,6 @@ dependencies { implementation project(":ballerina-time") implementation project(':ballerina-task') implementation project(':ballerina-io') - implementation project(':ballerina-encoding') testCompile 'org.testng:testng' testCompile 'org.slf4j:slf4j-jdk14' @@ -59,7 +57,6 @@ dependencies { testCompile project(':ballerina-task') testCompile project(':ballerina-time') testCompile project(':ballerina-utils') - testCompile project(':ballerina-encoding') testCompile project(':ballerina-internal') testCompile project(':ballerina-reflect') testCompile project(':ballerina-crypto') diff --git a/stdlib/bir/build.gradle b/stdlib/bir/build.gradle index 0732dea2d3a8..d88aa9fcfad6 100644 --- a/stdlib/bir/build.gradle +++ b/stdlib/bir/build.gradle @@ -33,7 +33,6 @@ dependencies { implementation project(':ballerina-lang:annotations') implementation project(':ballerina-runtime-api') implementation project(':ballerina-io') - implementation project(':ballerina-encoding') implementation project(':ballerina-log-api') implementation project(':ballerina-time') implementation project(':ballerina-internal') @@ -41,7 +40,6 @@ dependencies { baloImplementation project(path: ':ballerina-io', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-internal', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-time', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-utils', configuration: 'baloImplementation') diff --git a/stdlib/cache/build.gradle b/stdlib/cache/build.gradle index f209d65963e7..8f1dfde71019 100644 --- a/stdlib/cache/build.gradle +++ b/stdlib/cache/build.gradle @@ -46,7 +46,6 @@ dependencies { testCompile project(':ballerina-runtime-api') testCompile project(':ballerina-task') testCompile project(':ballerina-time') - testCompile project(':ballerina-encoding') testCompile project(':ballerina-internal') testCompile project(':ballerina-reflect') testCompile 'org.awaitility:awaitility' diff --git a/stdlib/config-api/build.gradle b/stdlib/config-api/build.gradle index cf4e62f6de23..2402b5d08b1d 100644 --- a/stdlib/config-api/build.gradle +++ b/stdlib/config-api/build.gradle @@ -48,7 +48,6 @@ dependencies { testCompile project(':ballerina-system') testCompile project(':ballerina-core') testCompile project(':ballerina-utils') - testCompile project(':ballerina-encoding') testCompile project(':ballerina-time') testCompile project(':ballerina-internal') testCompile project(':ballerina-reflect') diff --git a/stdlib/filepath/build.gradle b/stdlib/filepath/build.gradle index 240482427c03..bc96d7345977 100644 --- a/stdlib/filepath/build.gradle +++ b/stdlib/filepath/build.gradle @@ -37,7 +37,6 @@ dependencies { testCompile project(':ballerina-system') testCompile project(':ballerina-logging') testCompile project(':ballerina-log-api') - testCompile project(':ballerina-encoding') testCompile project(':ballerina-internal') testCompile project(':ballerina-reflect') testCompile project(':ballerina-core') diff --git a/stdlib/http/build.gradle b/stdlib/http/build.gradle index 7cdf0cb8f99f..e40cb849aa0e 100644 --- a/stdlib/http/build.gradle +++ b/stdlib/http/build.gradle @@ -49,7 +49,6 @@ dependencies { implementation project(':ballerina-mime') implementation project(':ballerina-config') implementation project(':ballerina-config-api') - implementation project(':ballerina-encoding') implementation project(':ballerina-system') implementation project(':ballerina-utils') implementation project(':ballerina-task') @@ -73,7 +72,6 @@ dependencies { baloImplementation project(path: ':ballerina-runtime-api', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-system', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-time', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-internal', configuration: 'baloImplementation') // transitive diff --git a/stdlib/internal/build.gradle b/stdlib/internal/build.gradle index 6e13f03f7edf..057dc29a59f6 100644 --- a/stdlib/internal/build.gradle +++ b/stdlib/internal/build.gradle @@ -30,7 +30,6 @@ dependencies { implementation project(':ballerina-lang') implementation project(':ballerina-time') implementation project(':ballerina-io') - implementation project(':ballerina-encoding') implementation project(':ballerina-lang:annotations') implementation project(':ballerina-file') implementation project(':ballerina-log-api') @@ -43,7 +42,6 @@ dependencies { baloImplementation project(path: ':ballerina-log-api', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-lang:annotations', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-io', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-runtime-api', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-file', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-utils', configuration: 'baloImplementation') diff --git a/stdlib/jdbc/build.gradle b/stdlib/jdbc/build.gradle index 6ba0d2b27b7b..0ecc2ccc3b4a 100644 --- a/stdlib/jdbc/build.gradle +++ b/stdlib/jdbc/build.gradle @@ -44,7 +44,6 @@ dependencies { baloImplementation project(path: ':ballerina-utils', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-mime', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-cache', configuration: 'baloImplementation') baloCreat project(':lib-creator') @@ -67,7 +66,6 @@ dependencies { implementation project(':ballerina-time') testCompile project(':ballerina-mime') testCompile project(':ballerina-transactions') - implementation project(':ballerina-encoding') implementation project(':ballerina-cache') implementation project(':ballerina-runtime') implementation project(':ballerina-test-utils') diff --git a/stdlib/jwt/build.gradle b/stdlib/jwt/build.gradle index 13d4ba449757..4be384bb1422 100644 --- a/stdlib/jwt/build.gradle +++ b/stdlib/jwt/build.gradle @@ -59,7 +59,6 @@ dependencies { testCompile project(':ballerina-task') testCompile project(':ballerina-time') testCompile project(':ballerina-utils') - testCompile project(':ballerina-encoding') testCompile project(':ballerina-internal') testCompile project(':ballerina-reflect') testCompile project(':ballerina-crypto') diff --git a/stdlib/ldap/build.gradle b/stdlib/ldap/build.gradle index c1cfa98ef9c7..92b4a293958f 100644 --- a/stdlib/ldap/build.gradle +++ b/stdlib/ldap/build.gradle @@ -37,7 +37,6 @@ dependencies { //transitive baloImplementation project(path: ':ballerina-log-api', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-time', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-config-api', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-io', configuration: 'baloImplementation') diff --git a/stdlib/messaging/kafka/build.gradle b/stdlib/messaging/kafka/build.gradle index 856f23d335c7..baf0e5c0674a 100644 --- a/stdlib/messaging/kafka/build.gradle +++ b/stdlib/messaging/kafka/build.gradle @@ -32,7 +32,6 @@ dependencies { baloCreat project(':lib-creator') implementation project(':ballerina-lang') implementation project(':ballerina-runtime') - implementation project(':ballerina-encoding') implementation project(':ballerina-filepath') implementation project(':ballerina-runtime-api') implementation project(':ballerina-time') @@ -40,7 +39,6 @@ dependencies { implementation 'org.apache.kafka:kafka-clients' implementation 'org.apache.kafka:kafka_2.11' - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-filepath', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-system', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-runtime-api', configuration: 'baloImplementation') @@ -56,7 +54,6 @@ dependencies { testCompile project(path: ':ballerina-test-utils', configuration: 'shadow') testCompile project(path: ':ballerina-test-common', configuration: 'tests') testCompile project(':ballerina-transactions') - testCompile project(':ballerina-encoding') testCompile project(':ballerina-http') testCompile project(':ballerina-crypto') testCompile project(':ballerina-mime') diff --git a/stdlib/messaging/nats/build.gradle b/stdlib/messaging/nats/build.gradle index 4d440d0117ce..ea136324daf6 100644 --- a/stdlib/messaging/nats/build.gradle +++ b/stdlib/messaging/nats/build.gradle @@ -57,11 +57,9 @@ dependencies { baloImplementation project(path: ':ballerina-time', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-log-api', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-runtime-api', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') testCompile 'org.testng:testng' testCompile project(path: ':ballerina-test-utils', configuration: 'shadow') - testCompile project(':ballerina-encoding') } createBalo { diff --git a/stdlib/mime/build.gradle b/stdlib/mime/build.gradle index 8763961066b1..fc90a0d75577 100644 --- a/stdlib/mime/build.gradle +++ b/stdlib/mime/build.gradle @@ -55,7 +55,6 @@ dependencies { testCompile project(path: ':ballerina-test-common', configuration: 'tests') testCompile project(path: ':ballerina-test-utils', configuration: 'shadow') - testImplementation project(':ballerina-encoding') testImplementation project(':ballerina-time') testImplementation project(':ballerina-internal') testImplementation project(':ballerina-reflect') diff --git a/stdlib/oauth2/build.gradle b/stdlib/oauth2/build.gradle index 75eafb56985b..a5ee6f78d19a 100644 --- a/stdlib/oauth2/build.gradle +++ b/stdlib/oauth2/build.gradle @@ -25,7 +25,6 @@ dependencies { implementation project(':ballerina-lang') implementation project(':ballerina-lang:annotations') implementation project(':ballerina-auth') - implementation project(':ballerina-encoding') implementation project(':ballerina-http') implementation project(':ballerina-log-api') implementation project(':ballerina-mime') @@ -36,7 +35,6 @@ dependencies { baloImplementation project(path: ':ballerina-lang:annotations', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-auth', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-http', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-log-api', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-mime', configuration: 'baloImplementation') diff --git a/stdlib/transactions/build.gradle b/stdlib/transactions/build.gradle index bc575a4fe031..ed96f01689c2 100644 --- a/stdlib/transactions/build.gradle +++ b/stdlib/transactions/build.gradle @@ -52,7 +52,6 @@ dependencies { baloImplementation project(path: ':ballerina-runtime-api', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-reflect', configuration: 'baloImplementation') baloImplementation project(path: ':ballerina-auth', configuration: 'baloImplementation') - baloImplementation project(path: ':ballerina-encoding', configuration: 'baloImplementation') baloCreat project(':lib-creator') implementation project(':ballerina-lang') @@ -66,7 +65,6 @@ dependencies { implementation project(':ballerina-system') implementation project(':ballerina-task') implementation project(':ballerina-http') - implementation project(':ballerina-encoding') } configurations { diff --git a/tests/jballerina-integration-test/build.gradle b/tests/jballerina-integration-test/build.gradle index b942b16e2728..a0bcd5fe2898 100644 --- a/tests/jballerina-integration-test/build.gradle +++ b/tests/jballerina-integration-test/build.gradle @@ -59,7 +59,6 @@ dependencies { implementation project(':ballerina-http') implementation project(':ballerina-grpc') implementation project(':protobuf-ballerina') - implementation project(':ballerina-encoding') implementation project(':ballerina-jdbc') implementation project(':ballerina-transactions') implementation project(':protobuf-ballerina')