Normally, when you compile a solidity file for Web3j, you need a bin and abi file. The command for this is
solc <contract>.sol --bin --abi --optimize -o <output-dir>/
To compile a yul file, you need to do:
solc --strict-assembly <contract>.sol
You can add the option bin but not abi so I have no idea how I would get the abi file. Does somebody know a solution for this?