|
- Commit
- 7da24aef7463fc16bf7763325cb21539f520c211
- Branch
- master
- Author
- Russel Winder <[hidden email]>
- Date
- Fri, 30 Jan 2015 07:12:10 +0000
- Message
- Declare a new release to create a version for the new Groovy minor release. Remove IDE tooling.
Changed file build.gradle
16 |
16 |
// |
17 |
17 |
// Author: Russel Winder <[hidden email]> |
18 |
18 |
|
19 |
|
apply plugin: 'eclipse' |
20 |
|
apply plugin: 'idea' |
21 |
|
|
22 |
19 |
import org.apache.tools.ant.filters.ReplaceTokens |
23 |
20 |
|
24 |
21 |
ext.artifact = 'gant' |
… |
41 |
38 |
* other situations a minus is used. |
42 |
39 |
*/ |
43 |
40 |
final gantVersionBase = '1.9.12' |
44 |
|
final isPrereleaseSnapshot = true |
|
41 |
final isPrereleaseSnapshot = false // true |
45 |
42 |
|
46 |
43 |
final createVersionString = {isForOSGi -> gantVersionBase + (isPrereleaseSnapshot ? (isForOSGi ? '.': '-') + 'SNAPSHOT': '')} |
47 |
44 |
|
… |
671 |
668 |
forEachProject{item -> delete item} |
672 |
669 |
delete buildDir, 'texput.log' |
673 |
670 |
} |
674 |
|
|
675 |
|
// Russel uses Java 8 with IntelliJ IDEA and assumes everyone else is. |
676 |
|
|
677 |
|
idea { |
678 |
|
module { |
679 |
|
excludeDirs += file 'gradle/' // Gradle directory including the wrapper subdirectory. |
680 |
|
excludeDirs += file '.gradle/' // Gradle directory |
681 |
|
excludeDirs += file '.settings/' // Eclipse settings directory. |
682 |
|
excludeDirs += file 'bin' // Eclipse compilation directory. |
683 |
|
excludeDirs += file 'out' // IDEA compilation directory. |
684 |
|
excludeDirs += file 'build' // Gradle compilation directory. |
685 |
|
} |
686 |
|
project{ |
687 |
|
jdkName = '1.8' |
688 |
|
ipr{ |
689 |
|
withXml{provider -> |
690 |
|
provider.asNode().component.find{it.'@name' == 'VcsDirectoryMappings'}.mapping[0].'@vcs' = 'Git' |
691 |
|
} |
692 |
|
whenMerged{project -> |
693 |
|
project.jdk.languageLevel = 'JDK_1_8' |
694 |
|
} |
695 |
|
} |
696 |
|
} |
697 |
|
} |
|