Gradle can't find dependencies

Hi, In my netbeans project i need to set up telegram and paypal api libs but gradle can’t find dependencies from mavenCentral() like:
// https://mvnrepository.com/artifact/org.telegram/telegrambots-abilities
compile group: ‘org.telegram’, name: ‘telegrambots-abilities’, version: ‘5.0.1’
or:
// https://mvnrepository.com/artifact/com.paypal.sdk/paypal-core
compile group: ‘com.paypal.sdk’, name: ‘paypal-core’, version: ‘1.7.2’

screen : netbeans error screen

Can anyone help me? Thanks.