Skip to content

Commit

Permalink
added license-maven-plugin to check license headers, fixed missing li…
Browse files Browse the repository at this point in the history
…cense headers, run pmd with test phase
  • Loading branch information
AlmasB committed Aug 25, 2019
1 parent 942e8c7 commit 33dceeb
Show file tree
Hide file tree
Showing 38 changed files with 256 additions and 7 deletions.
5 changes: 5 additions & 0 deletions LICENSE_HEADER
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/
6 changes: 6 additions & 0 deletions fxgl-achievement/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-animation/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
*
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-core/src/main/java/com/almasb/fxgl/core/Updatable.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

package com.almasb.fxgl.core;

/**
Expand Down
6 changes: 6 additions & 0 deletions fxgl-core/src/main/java/com/almasb/fxgl/core/View.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

package com.almasb.fxgl.core;

import javafx.scene.Node;
Expand Down
6 changes: 6 additions & 0 deletions fxgl-core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
*
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/


package com.almasb.fxgl.core.concurrent

import javafx.application.Platform
Expand Down
7 changes: 7 additions & 0 deletions fxgl-core/src/main/kotlin/com/almasb/fxgl/core/util/DSL.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/


package com.almasb.fxgl.core.util

import com.almasb.fxgl.core.reflect.ReflectionUtils
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
///*
// * FXGL - JavaFX Game Library. The MIT License (MIT).
// * Copyright (c) AlmasB ([email protected]).
// * See LICENSE for details.
// */
//
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

//package com.almasb.fxgl.core.util
//
//import javafx.embed.swing.SwingFXUtils
Expand Down
6 changes: 6 additions & 0 deletions fxgl-cutscene/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-effects/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-entity/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/


package com.almasb.fxgl.entity.components

import com.almasb.fxgl.entity.component.Component
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/


package com.almasb.fxgl.entity.components

import com.almasb.fxgl.core.serialization.Bundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/


package com.almasb.fxgl.entity.components

import com.almasb.fxgl.core.View
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/


package com.almasb.fxgl.entity.level

import com.almasb.fxgl.entity.GameWorld
Expand Down
6 changes: 6 additions & 0 deletions fxgl-events/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
*
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-input/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-io/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
*
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-media/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-minigames/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-nativesamples/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-notification/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-samples/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

open module samples.main {
requires kotlin.stdlib;
requires com.almasb.fxgl.all;
Expand Down
6 changes: 6 additions & 0 deletions fxgl-samples/src/main/java/sandbox/FXApp.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

package sandbox;

import com.almasb.fxgl.app.GameApplication;
Expand Down
6 changes: 6 additions & 0 deletions fxgl-scene/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-test/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-time/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
*
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-tools/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-trade/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl-ui/src/main/java/com/almasb/fxgl/ui/FXGLScrollPane.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

package com.almasb.fxgl.ui;

import javafx.scene.Node;
Expand Down
6 changes: 6 additions & 0 deletions fxgl-ui/src/main/java/com/almasb/fxgl/ui/FXGLUIConfig.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

package com.almasb.fxgl.ui;

/**
Expand Down
6 changes: 6 additions & 0 deletions fxgl-ui/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
*
*/
Expand Down
7 changes: 7 additions & 0 deletions fxgl-ui/src/main/kotlin/com/almasb/fxgl/ui/ErrorDialog.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/


package com.almasb.fxgl.ui

import javafx.scene.control.ButtonType
Expand Down
6 changes: 6 additions & 0 deletions fxgl/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

/**
* @author Almas Baimagambetov ([email protected])
*/
Expand Down
6 changes: 6 additions & 0 deletions fxgl/src/main/kotlin/com/almasb/fxgl/app/Engine.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

package com.almasb.fxgl.app

import com.almasb.fxgl.core.EngineService
Expand Down
6 changes: 6 additions & 0 deletions fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/

package com.almasb.fxgl.app

import com.almasb.fxgl.core.fsm.StateMachine
Expand Down
Loading

0 comments on commit 33dceeb

Please sign in to comment.