Ubuntu 18.04 contains two versions of Openssl: openssl 1.1 and openssl 1.0.
Unfortunately, upstream MySQL now requires it to be linked against OpenSSL 1.1, where previously it used an internal ssl library.
It is no longer possible to use openssl 1.0 concurrently with MySQL.
What is requiring you to install libssl1.0-dev instead of libssl-dev?
Ubuntu 18.04 contains two versions of Openssl: openssl 1.1 and openssl 1.0.
Unfortunately, upstream MySQL now requires it to be linked against OpenSSL 1.1, where previously it used an internal ssl library.
It is no longer possible to use openssl 1.0 concurrently with MySQL.
What is requiring you to install libssl1.0-dev instead of libssl-dev?