The City University of New York will disclose information about its investment holdings and contracts with 30 companies with alleged connections to Israel’s military campaigns, including Dell Technologies Inc. and Lockheed Martin Corp.

The Midtown Manhattan-based school on Tuesday agreed to settle the New York Civil Liberties Union’s lawsuit seeking to compel CUNY to release the documents and shed light on how the university is spending and investing public money.

“Investment records disclosure is a basic responsibility and function of a public institution, and CUNY students, faculty, and the entire campus community are entitled to transparency and equal treatment …