@@ -22,8 +22,9 @@ Features:
22
22
23
23
* Works with directly installed python or docker container (with python)
24
24
* Creates local (project-specific) virtualenv (project-specific python copy)
25
- * Installs required pip modules (virtualenv by default, but could be global installation)
25
+ * Installs required pip modules (venv by default (with fallback to virtualenv) , but could be global installation)
26
26
* Support requirements.txt file (limited by default)
27
+ * Compatible with gradle configuration cache
27
28
* Could be used as basement for building plugins for specific python modules (like
28
29
[ mkdocs plugin] ( https://github.com/xvik/gradle-mkdocs-plugin ) )
29
30
@@ -52,7 +53,7 @@ buildscript {
52
53
mavenCentral()
53
54
}
54
55
dependencies {
55
- classpath 'ru.vyarus:gradle-use-python-plugin:3 .0.0'
56
+ classpath 'ru.vyarus:gradle-use-python-plugin:4 .0.0'
56
57
}
57
58
}
58
59
apply plugin: 'ru.vyarus.use-python'
62
63
63
64
``` groovy
64
65
plugins {
65
- id 'ru.vyarus.use-python' version '3 .0.0'
66
+ id 'ru.vyarus.use-python' version '4 .0.0'
66
67
}
67
68
```
68
69
69
70
#### Compatibility
70
71
71
- Plugin compiled for java 8, compatible with java 11. Supports python 2 and 3 on windows and linux (macos).
72
+ Plugin compiled for java 8, compatible with java 11, 17.
73
+ Supports python 2 (not tested anymore, but should work) and 3 on windows and linux (macos)
72
74
73
75
Gradle | Version
74
76
--------|-------
75
- 5.3-8 | 3.0.0
76
- 5-5.2 | 2.3.0
77
+ 7.0 | 4.0.0
78
+ 5.3 | [ 3.0.0] ( https://xvik.github.io/gradle-use-python-plugin/3.0.0/ )
79
+ 5-5.2 | [ 2.3.0] ( https://xvik.github.io/gradle-use-python-plugin/2.3.0/ )
77
80
4.x | [ 1.2.0] ( https://github.com/xvik/gradle-use-python-plugin/tree/1.2.0 )
78
81
79
82
#### Snapshots
0 commit comments