From e702212c9e122b69ccd91f64defa41d03a98031d Mon Sep 17 00:00:00 2001 From: Saeed Noshadi Date: Sat, 14 May 2022 17:31:08 +0430 Subject: [PATCH 1/4] add Suppress annotation to fix libs error --- core-database/build.gradle.kts | 1 + core-datastore/build.gradle.kts | 1 + core-model/build.gradle.kts | 1 + core-navigation/build.gradle.kts | 1 + 4 files changed, 4 insertions(+) diff --git a/core-database/build.gradle.kts b/core-database/build.gradle.kts index 0461f28f2..fea0de918 100644 --- a/core-database/build.gradle.kts +++ b/core-database/build.gradle.kts @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +@kotlin.Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") id("nowinandroid.android.library.jacoco") diff --git a/core-datastore/build.gradle.kts b/core-datastore/build.gradle.kts index 2ccc9ade1..e4234b67e 100644 --- a/core-datastore/build.gradle.kts +++ b/core-datastore/build.gradle.kts @@ -19,6 +19,7 @@ import com.google.protobuf.gradle.generateProtoTasks import com.google.protobuf.gradle.protobuf import com.google.protobuf.gradle.protoc +@kotlin.Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") id("nowinandroid.android.library.jacoco") diff --git a/core-model/build.gradle.kts b/core-model/build.gradle.kts index bda0c4037..c8412ef22 100644 --- a/core-model/build.gradle.kts +++ b/core-model/build.gradle.kts @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +@kotlin.Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") id("nowinandroid.android.library.jacoco") diff --git a/core-navigation/build.gradle.kts b/core-navigation/build.gradle.kts index c9606b6ce..8fa909964 100644 --- a/core-navigation/build.gradle.kts +++ b/core-navigation/build.gradle.kts @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +@kotlin.Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") id("nowinandroid.android.library.jacoco") From 4814e14a1f839f511c682d600a7beb091def6c86 Mon Sep 17 00:00:00 2001 From: Saeed Noshadi <50018300+SaeedNoshadi89@users.noreply.github.com> Date: Mon, 16 May 2022 20:02:00 +0430 Subject: [PATCH 2/4] Update core-database/build.gradle.kts Co-authored-by: Alex Vanyo --- core-database/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-database/build.gradle.kts b/core-database/build.gradle.kts index fea0de918..a4d8e4256 100644 --- a/core-database/build.gradle.kts +++ b/core-database/build.gradle.kts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@kotlin.Suppress("DSL_SCOPE_VIOLATION") +@Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") id("nowinandroid.android.library.jacoco") From 73f6507a88725f6bc86d00fd3ecb77299b35ddc3 Mon Sep 17 00:00:00 2001 From: Saeed Noshadi <50018300+SaeedNoshadi89@users.noreply.github.com> Date: Mon, 16 May 2022 20:03:33 +0430 Subject: [PATCH 3/4] Update core-datastore/build.gradle.kts Co-authored-by: Alex Vanyo --- core-datastore/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/core-datastore/build.gradle.kts b/core-datastore/build.gradle.kts index e4234b67e..9dba29c8e 100644 --- a/core-datastore/build.gradle.kts +++ b/core-datastore/build.gradle.kts @@ -19,6 +19,7 @@ import com.google.protobuf.gradle.generateProtoTasks import com.google.protobuf.gradle.protobuf import com.google.protobuf.gradle.protoc +// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed @kotlin.Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") From 8e60a234e9d6ed3f2495cf18784f2312dc11378d Mon Sep 17 00:00:00 2001 From: Saeed Noshadi Date: Mon, 16 May 2022 20:36:41 +0430 Subject: [PATCH 4/4] remove suppress annotation prefix and add todo --- core-database/build.gradle.kts | 1 + core-datastore/build.gradle.kts | 2 +- core-model/build.gradle.kts | 3 ++- core-navigation/build.gradle.kts | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/core-database/build.gradle.kts b/core-database/build.gradle.kts index a4d8e4256..2f15e958a 100644 --- a/core-database/build.gradle.kts +++ b/core-database/build.gradle.kts @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed @Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") diff --git a/core-datastore/build.gradle.kts b/core-datastore/build.gradle.kts index 9dba29c8e..52d7ebc7b 100644 --- a/core-datastore/build.gradle.kts +++ b/core-datastore/build.gradle.kts @@ -20,7 +20,7 @@ import com.google.protobuf.gradle.protobuf import com.google.protobuf.gradle.protoc // TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed -@kotlin.Suppress("DSL_SCOPE_VIOLATION") +@Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") id("nowinandroid.android.library.jacoco") diff --git a/core-model/build.gradle.kts b/core-model/build.gradle.kts index c8412ef22..a413b36c4 100644 --- a/core-model/build.gradle.kts +++ b/core-model/build.gradle.kts @@ -13,7 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@kotlin.Suppress("DSL_SCOPE_VIOLATION") +// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed +@Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") id("nowinandroid.android.library.jacoco") diff --git a/core-navigation/build.gradle.kts b/core-navigation/build.gradle.kts index 8fa909964..d9449babc 100644 --- a/core-navigation/build.gradle.kts +++ b/core-navigation/build.gradle.kts @@ -13,7 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@kotlin.Suppress("DSL_SCOPE_VIOLATION") +// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed +@Suppress("DSL_SCOPE_VIOLATION") plugins { id("nowinandroid.android.library") id("nowinandroid.android.library.jacoco")