From cb3d21857238816220463f114be4d5fe92a3acd4 Mon Sep 17 00:00:00 2001 From: Dalibor Novak Date: Sun, 7 Oct 2012 20:01:53 +0100 Subject: [PATCH] Set project name rather than archivesBaseName Project name is a read only property in build.gradle, but it can be set in settings.gradle. This makes things more uniform and deterministic. Project now has the same name no matter which directory you check it out to. It also helps with Intellij IDEA not creating additional modules and subsequently having conflicts between them. --- build.gradle | 1 - settings.gradle | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 settings.gradle diff --git a/build.gradle b/build.gradle index 10daf8869..f3ee68932 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,6 @@ apply plugin: 'eclipse' // Only used so the Eclipse STS Gradle plugin can see defaultTasks 'build' group = 'com.googlecode.disruptor' -archivesBaseName = 'disruptor' version = new Version(major: 3) ext { diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 000000000..9dd2198a7 --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'disruptor'