Table classes generated with "package package" on first line - jack/java8/gradle2.2
See original GitHub issueDBFlow Version: 4.0.0-beta1 Issue Kind (Bug, Question, Feature): Bug
Description:
Generated table code seems to be including the word package twice e.g.
package package com.project.model;
Forgive me if this is just a configuration error, but I wondered if it’s something to do with the setup which is:
- gradle:2.2.2
- jack compiler enabled for Java 8 support
My build file looks like this:
compileSdkVersion 25
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.project"
minSdkVersion 19
targetSdkVersion 24
versionCode 1
versionName "0.1"
jackOptions {
enabled true
}
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
...
dependencies {
...
annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:4.0.0-beta1"
compile "com.github.Raizlabs.DBFlow:dbflow-core:4.0.0-beta1"
compile "com.github.Raizlabs.DBFlow:dbflow:4.0.0-beta1"
}
I’m also using Lombok. I’ve tried cleaning etc, but it always seems to include the word “package” twice.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Packages in Java: How to Create/Import Package - Guru99
A Package is a collection of related classes. Learn how to create Package in Java with example program in this tutorial.
Read more >Creating a Package (The Java™ Tutorials > Learning the Java ...
The package statement (for example, package graphics; ) must be the first line in the source file. There can be only one package...
Read more >How to Create and Use Packages in Java? | Edureka
Packages in Java are a way to encapsulate a group of classes, interfaces, enumerations, ... The first line of the code import java.util....
Read more >Packages In Java - GeeksforGeeks
Package in Java is a mechanism to encapsulate a group of classes, sub packages and interfaces. Packages are used for:.
Read more >Do I have to use "package" term in every class? - java
When I put package first; line to top line of my Java class it runs. But, the book isn't using package term. Is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Jack compiler is not tested/supported yet. I am going to look into it to see what the issue is. Most likely a JavaPoet issue.
Do you have an update on this? I’m starting a new project and would like to use Jack + DBFlow.