Dab tsi yog Gradle lossis Maven zoo dua?
Dab tsi yog Gradle lossis Maven zoo dua?

Video: Dab tsi yog Gradle lossis Maven zoo dua?

Video: Dab tsi yog Gradle lossis Maven zoo dua?
Video: Hmong new song 2016 - Yog dab tsi - Xub Hluav Taws (Official MV) 2024, Kaum ib hlis
Anonim

Gradle muaj zog dua. Txawm li cas los xij, muaj qee lub sijhawm uas koj yeej tsis xav tau feem ntau ntawm cov yam ntxwv thiab cov haujlwm uas nws muaj. Maven tej zaum yuav zoo tshaj rau tej yaam num me, thaum Gradle yog qhov zoo tshaj plaws rau cov haujlwm loj.

Tsis tas li ntawd, yog vim li cas gradle sai dua Maven?

Gradle yog nruab nrab ntawm 7 thiab 85 x sai dua Maven thaum tsim cov kev hloov pauv ntxiv; cov txiaj ntsig tau nce nrog tus lej ntawm cov phiaj xwm sub. Gradle tsim yog 3 mus rau 30 zaug sai dua Maven tsim thaum cov khoom tso tawm tuaj yeem daws tau Gradle's tsim cache.

Ib sab saum toj no, yog maven tseem siv? Apache Maven yog kev tswj hwm kev vam khom thiab tsim cov cuab yeej automation, feem ntau siv rau Java apps. Maven txuas ntxiv siv cov ntaub ntawv XML ib yam li Ant tab sis nyob rau hauv txoj kev tswj tau ntau dua. Lub npe ntawm qhov kev ua si ntawm no yog convention tshaj configuration.

Ib tug kuj nug, Gradle puas txhawb ntau hom lus tshaj Maven?

Gradle yog ntau ntau muaj zog dua Maven vim nws coj lub zog ntawm kev ua haujlwm tiag tiag lus mus rau kev tsim scripts.

Dab tsi yog gradle siv rau?

Gradle yog ib qho cuab yeej tsim automation feem ntau siv rau JVM hom lus xws li Java, Groovy lossis Scala. Gradle tuaj yeem teeb tsa los khiav Cov Haujlwm uas ua tej yam xws li sau cov thawv s, khiav kev xeem, tsim cov ntaub ntawv thiab ntau ntxiv.

Pom zoo: