@@ -47,7 +47,7 @@ buildscript {
4747        jcenter() 
4848    } 
4949    dependencies { 
50-         classpath 'ru.vyarus:gradle-use-python-plugin:1.1 .0' 
50+         classpath 'ru.vyarus:gradle-use-python-plugin:1.2 .0' 
5151    } 
5252} 
5353apply plugin: 'ru.vyarus.use-python' 
5757
5858``` groovy 
5959plugins { 
60-     id 'ru.vyarus.use-python' version '1.1 .0' 
60+     id 'ru.vyarus.use-python' version '1.2 .0' 
6161} 
6262``` 
6363
@@ -143,6 +143,13 @@ If you want automatic python installation, try looking on JetBrain's
143143it has some caveats (for example, on windows python could be installed automatically just once 
144144and requires manual un-installation). 
145145
146+ #### Multi-module projects  
147+ 
148+ When used in multi-module project, plugin will create virtualenv inside the root project directory
149+ in order to share the same environment for all modules.
150+ 
151+ See [ multi-module setup cases] ( https://github.com/xvik/gradle-use-python-plugin/wiki/Multi-module-projects )  
152+ 
146153#### Travis configuration  
147154
148155To make plugin work on [ travis] ( https://travis-ci.org/ )  you'll need ` sudo `  and install pip [ manually] ( .travis.yml ) :
@@ -152,8 +159,12 @@ language: java
152159jdk : oraclejdk8 
153160
154161sudo : required 
162+ addons :
163+   apt :
164+     packages :
165+     - " python3" 
166+     - " python3-pip" 
155167before_install :
156-   - sudo apt-get -y install python3-pip 
157168  - sudo pip3 install -U pip 
158169` ` `  
159170
@@ -526,6 +537,9 @@ python {
526537} 
527538``` 
528539
540+ Note that in case of multi-module project envPath is set to '.gradle/python' inside the root project,
541+ even if plugin is activated inside module (see [ multi-module setup] ( https://github.com/xvik/gradle-use-python-plugin/wiki/Multi-module-projects ) ). 
542+ 
529543#### PythonTask  
530544
531545PythonTask configuration:
@@ -580,7 +594,7 @@ In your plugin, add plugin as dependency:
580594
581595``` groovy 
582596dependencies { 
583-     compile 'ru.vyarus:gradle-use-python-plugin:1.1 .0' 
597+     compile 'ru.vyarus:gradle-use-python-plugin:1.2 .0' 
584598} 
585599``` 
586600
0 commit comments