title: How do I get boxfuse to detect that I'm using a MySQL database with my spring app using gradle?
body: <p>I followed the spring tutorial here: <a href="https://spring.io/guides/gs/rest-service/" rel="nofollow noreferrer">https://spring.io/guides/gs/rest-service/</a> and have it working. I then followed a tutorial on connecting to a MySQL DB and added the dependencies in the build.gradle. boxfuse doesn't seem to detect it. </p>
  
  <pre><code>MacBook-Pro-2 ~/work/test/server (develop) $ boxfuse info
  Boxfuse client v.1.22.2.1149
  Copyright 2016 Boxfuse GmbH. All rights reserved.
  
  Account: ...
  
  Info about ... in the dev environment:
  
  App Type    : Single Instance (Elastic IP)
  App URL     : 
  DB Type     : No database
  Logs Type   : No centralized logging
  </code></pre>
  
  <p>In my build.gradle file I just have:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE")
          classpath 'mysql:mysql-connector-java:5.1.16'
      }
  }
  
  dependencies {
      compile("org.springframework.boot:spring-boot-starter-web")
      testCompile('org.springframework.boot:spring-boot-starter-test')
      compile('mysql:mysql-connector-java:5.1.16')
  }
  </code></pre>
  
  <p>Am I missing a step in order to make this work?</p>
  
  <hr>
  
  <p>Edit:
  I tried "boxfuse info" using the starter project tool at <a href="http://start.spring.io/" rel="nofollow noreferrer">http://start.spring.io/</a> and had the dependencies for JDBC and MySQL selected:</p>
  
  <p><a href="https://i.stack.imgur.com/OXNs0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OXNs0.png" alt="enter image description here"></a></p>
  
  <p>Compiled to a jar and ran boxfuse in the build directory where the jar is. It still did not detect a DB.</p>