researchgate / gradle-release

gradle-release is a plugin for providing a Maven-like release process for projects using Gradle
MIT License
869 stars 221 forks source link

Adding an external custom svnURL? #188

Open elianfish opened 8 years ago

elianfish commented 8 years ago

My project is generated through reactnative, which is automatically generated and configuration data gradle android subdirectories, plus gradle-release configuration On this basis, it is created when you publish tag, it will be based on android subdirectory instead of trunk。

当前项目结构 drwxr-xr-x 11 elian staff 374 Aug 4 15:46 android -rw-r--r-- 1 elian staff 1103 Aug 4 13:15 index.android.js -rw-r--r-- 1 elian staff 1069 Aug 4 13:15 index.ios.js drwxr-xr-x 5 elian staff 170 Aug 4 13:15 ios drwxr-xr-x 606 elian staff 20604 Aug 4 13:37 node_modules -rw-r--r-- 1 elian staff 238 Aug 4 13:15 package.json ➜ AwesomeProject ll android total 48 drwxr-xr-x 7 elian staff 238 Aug 4 13:45 app -rw-r--r-- 1 elian staff 840 Aug 4 14:50 build.gradle drwxr-xr-x 3 elian staff 102 Aug 4 13:15 gradle -rw-r--r-- 1 elian staff 887 Aug 4 14:50 gradle.properties -rwxr-xr-x 1 elian staff 5080 Aug 4 13:15 gradlew -rw-r--r-- 1 elian staff 2404 Aug 4 13:15 gradlew.bat drwxr-xr-x 4 elian staff 136 Aug 4 13:15 keystores -rw-r--r-- 1 elian staff 180 Aug 4 15:45 settings.gradle

Executive gradle build subdirectory under android, I want to be able to customize svnUrl to create branches based on the trunk, rather than a subdirectory android.

shollander commented 7 years ago

I too have a need for this flexibility. My build.gradle file is not at the location where I would like to create a branch point. It is lower down in the file tree. I would like to be able to configure the gradle-release-plugin svn adapter to branch at the trunk instead of where my build.gradle is located.