Import own Functions and Classes

ok, i got it. i’ve misunderstood the location of “root project directory” in this context. and that’s unfortunately also my last question. now i need a structure like this:

project
  global.gradle
  gradlew
  gradlew.bat
project/gradle/wrapper
  gradle dependencies
project/build/solutionname
  build.gradle
  some properties and settings
project/build/solutionname/buildSrc
  java-classes in src/main/java
  internal compiled sources

the buildSrc-directory needs to be in the root of my solution (project/build/solutionname). it would be nicer if i can put it in the project-root because it contains functionality for all solutions.

i only found this. so maybe that won’t work :(.