Who is requiring you to use large numbers of transitive dependencies? You can always write all the code yourself instead.