aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authordarkkeks <darkkeks@yandex-team.com>2023-03-23 21:04:31 +0300
committerdarkkeks <darkkeks@yandex-team.com>2023-03-23 21:04:31 +0300
commitd34a7e38e4ce03d5a1d88095f38c12353cd81d97 (patch)
tree0d7679425d4c7244255dc0bc4f9d3da245542ae4 /build
parentea82d9d0e2541d3effdd3ad1e419a2b9fa1cca32 (diff)
downloadydb-d34a7e38e4ce03d5a1d88095f38c12353cd81d97.tar.gz
Move contrib java rules from contrib_python.policy
Diffstat (limited to 'build')
-rw-r--r--build/conf/rules.conf1
-rw-r--r--build/rules/contrib_java.policy9
-rw-r--r--build/rules/contrib_python.policy10
3 files changed, 10 insertions, 10 deletions
diff --git a/build/conf/rules.conf b/build/conf/rules.conf
index 44c14544cf..8fd7167ece 100644
--- a/build/conf/rules.conf
+++ b/build/conf/rules.conf
@@ -8,6 +8,7 @@ otherwise {
build/rules/go/vendor.policy \
build/rules/base_layers.policy \
build/rules/contrib_deprecated.policy \
+ build/rules/contrib_java.policy \
build/rules/contrib_python.policy \
build/rules/contrib_restricted.policy \
build/rules/contrib_deps.policy \
diff --git a/build/rules/contrib_java.policy b/build/rules/contrib_java.policy
new file mode 100644
index 0000000000..bfffebf254
--- /dev/null
+++ b/build/rules/contrib_java.policy
@@ -0,0 +1,9 @@
+ALLOW metrika/java/api -> contrib/java/patched/com/android/tools/r8
+ALLOW metrika/java/api -> contrib/java/patched/com/ryantenney/metrics/metrics-spring
+ALLOW direct -> contrib/java/patched/io/leangen/graphql/spqr
+ALLOW direct -> contrib/java/patched/com/github/shyiko/mysql-binlog-connector-java
+ALLOW contrib/java/patched/com/android/tools/r8 -> contrib/java/patched/com/android/tools/r8
+ALLOW contrib/java/patched/com/ryantenney/metrics/metrics-spring -> contrib/java/patched/com/ryantenney/metrics/metrics-spring
+ALLOW contrib/java/patched/io/leangen/graphql/spqr -> contrib/java/patched/io/leangen/graphql/spqr
+ALLOW contrib/java/patched/com/github/shyiko/mysql-binlog-connector-java -> contrib/java/patched/com/github/shyiko/mysql-binlog-connector-java
+DENY .* -> contrib/java/patched
diff --git a/build/rules/contrib_python.policy b/build/rules/contrib_python.policy
index 9f7bfcb4cb..b30209e91d 100644
--- a/build/rules/contrib_python.policy
+++ b/build/rules/contrib_python.policy
@@ -222,16 +222,6 @@ ALLOW contrib/python/Geohash/tests -> contrib/python/Geohash
ALLOW yql/udfs/common/python/python_arc -> contrib/python/Geohash
DENY .* -> contrib/python/Geohash
-ALLOW metrika/java/api -> contrib/java/patched/com/android/tools/r8
-ALLOW metrika/java/api -> contrib/java/patched/com/ryantenney/metrics/metrics-spring
-ALLOW direct -> contrib/java/patched/io/leangen/graphql/spqr
-ALLOW direct -> contrib/java/patched/com/github/shyiko/mysql-binlog-connector-java
-ALLOW contrib/java/patched/com/android/tools/r8 -> contrib/java/patched/com/android/tools/r8
-ALLOW contrib/java/patched/com/ryantenney/metrics/metrics-spring -> contrib/java/patched/com/ryantenney/metrics/metrics-spring
-ALLOW contrib/java/patched/io/leangen/graphql/spqr -> contrib/java/patched/io/leangen/graphql/spqr
-ALLOW contrib/java/patched/com/github/shyiko/mysql-binlog-connector-java -> contrib/java/patched/com/github/shyiko/mysql-binlog-connector-java
-DENY .* -> contrib/java/patched
-
# because library will not work without external dependencies - IBM MQ
# See https://st.yandex-team.ru/CONTRIB-1854 and pymqi README for details
ALLOW travel/avia -> contrib/python/pymqi