для тех кому как и мне не нравиться видеть зависимость в списке основных зависимостей приложения например
testImplementation "junit:junit:+"
создаем файл testDependencies.gradle
:
dependencies {
#!/bin/bash | |
# Путь к Android Studio | |
android_studio_path=/home/marina/android/android-studio | |
# Путь к иконке приложения | |
icon_path=${android_studio_path}/bin/studio.png | |
# Путь к ярлыку на рабочем столе | |
desktop_path=~/Desktop/AndroidStudio.desktop |
sudo apt-get -y update | |
sudo apt install gnome-clocks | |
#------------------------PuTTY-------------- | |
#-----https://numato.com/help/blog/how-to-install-putty-on-linux/ | |
#-----https://www.ssh.com/ssh/putty/linux/puttygen | |
#------------------------------------------- | |
sudo apt-get -y update | |
sudo apt-get -y install -y putty | |
putty |
class FavMainAdapter constructor( | |
val context: Context?, | |
fragmentManager: FragmentManager | |
) : BaseFragmentPagerAdapter(fragmentManager) { | |
override fun createItem(position: Int): BaseFragment { | |
return when (position) { | |
0 -> MyCollectionsFragment() | |
1 -> MyPlaylistsFragment() | |
else -> throw IndexOutOfBoundsException("IndexOutOfBounds $position") |
### Keybase proof | |
I hereby claim: | |
* I am kolyall on github. | |
* I am spamick (https://keybase.io/spamick) on keybase. | |
* I have a public key ASAAlBrlpBvAuLsiOz-iSJTcWIuIQF3lZKPsXuLV_b5Wtwo | |
To claim this, I am signing this object: |
################Move docker to another dir | |
1. Move .docker directory from C:\Users\username to D:\ | |
2. Run C:\Users\username>mklink /j .docker D:\.docker | |
------------------------------------------------------------------------------- | |
DOCKER | |
------------------------------------------------------------------------------- | |
docker pull coturiv/ci-android | |
docker run -it coturiv/ci-android /bin/bash | |
docker container ls |
Run jars:
sudo apt-get install binfmt-support
chmod a+rx myjar.jar
./myjar.jar
OR Install jarwrapper. After that (and by adding the executable bit) you can start the jar file just by entering the jarfile name.
https://source.jalview.org/crucible/rdiff/jalview?csid=edfb6c264fce9f6251a129663c797b72e06ebc5e&u&N | |
https://source.jalview.org/crucible/browse/~br=improvement%402fJAL-3449_add_install4j_installer_getdown_versions_to_jalview_console.2/jalview/build.gradle?hb=true |