AS use any version:
method one:
repositories {
flatDir {
dirs 'libs'
}
}
implementation (name: 'paylibrary_v1.0', ext: 'aar')
Method Two:
Get a line of code
implementation fileTree(include: ['*.jar',"*.aar"], dir: 'libs')
Above AS3.0 (low version not tested)
Method three:
The same line of code to get:
implementation files('libs/paylibrary_v1.0.aar')
Method four:
The same line of code to get:
implementation files('libs\\paylibrary_v1.0.aar')
Dependent on third-party libraries in some method:
method one:
implementation("com.squareup.okhttp3:okhttp:3.8.1")
Method Two:
implementation'com.squareup.okhttp3:okhttp:3.8.1'