(CNN) The final version of the 2019 defense bill offers harsh words for Russia and China, keeping in place restrictions that prevent the US military from cooperating with Moscow.

The $717 billion bill "prohibits military-to-military cooperation with Russia," according to a summary of the legislation released by Republican Rep. Mac Thornberry of Texas, the chairman of the House Armed Services Committee.

That prohibition was also contained in previous years' versions of the bill but comes as Moscow has floated increased cooperation following President Donald Trump's meeting with Russian President Vladimir Putin in Helsinki.

The report, which represents a compromise between the House and Senate versions of the defense bill, also funds the Trump administration's plan to develop a lower-yield ballistic missile warhead aimed at deterring Russia, as well as supports Trump's request for $250 million for lethal defensive aid to Ukraine and $6.3 billion for the European Deterrence Initiative "to further increase number of US troops in Europe, reassure US partners and allies, and deter Russian aggression."

The compromise bill will also grant the Trump administration the authority to waive sanctions in the 2017 Countering America's Adversaries Through Sanctions Act, a bill that passed with an overwhelming majority and that was labeled "flawed" by Trump.

Read More