This is how import dependencies in Android Studio. In this case okhttp:
dependencies {
compile 'com.squareup.okhttp:okhttp:2.5.0'
}
I would like to import a dependency created by myself. For example:
dependencies {
compile 'my_library:1.0.0'
}
At this point if I learn how to create a dependency and import in Android Studio project would be enough.
But I would like host my library on a git(github) repository if possible. This would be awesome.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…