Look at China and how dirth poor they were under socialist brotherhood era with USSR? Now look at them after Deng made the strategic decision to open up to the US.
Then look at how postwar Japan turbo charged its economic miracle under US umbrella.
In India too, look at your economy during the foolish and make-believe "non-alignment" (actually more like USSR infatuation) era. And look at the difference now after you opened up to the US.
In fact, the whole Asia has not seen so much economic growth as post WW2 than under pax Americana.
But the bottomline will always be, countries will prioritize their own interests and all else are secondary. So don't tell me India prioritizes other countries' interests than its own? But the American self-interest has produced the most benefits to other countries in the second part of the 20th century until now.
Who is speaking of richness? I am only speaking of strength. Alliance with Russia has made countries strong on their own compared to alliance with USA. Economic size is meaningless unless it is aiding in strength. It is like being an obese person who geta exhausted after walking 100 metres.
Entire Chinese military might came during its alliance with USSR. China was making ICBM, nuclear submarine, satellites, nuclear bombs by 1975 itself. Similarly, Indian military Technology was also heavily aided by USSR.
Comparing countries like Japan, Germany, we can see how these countries are just rich but devoid of spine and strength. They just exist like prostitutes without any inherent importance of their own and completely reliant on USA mercy to survive.
Making things under license doesn't make it sanction proof. They certainly didn't give ToT for the T/R modules in the Greenpine. All of the Israeli AESA modules are imported from the US. Your next line will be you make your own T/R modules, but none of them are compatible with Israeli radars.
Transport and logistics is the life blood of any military, if they sanction that in the middle of a war you are going to feel it.
India does not assemble parts from Israel but directly gets know why and then makes them indigenously. So, these are not license production but made in India items itself and hence can't be sanctioned.
Transport planes like AN32 can be made in India as a stop gap measure. So, planes like c130 is not as critical. So, chances of sanctions affecting transport is low. If c130 is gone, we will make older models of planes. Since these transport planes don't fight, even older ones like an32 can do the job.