Build Status | Test Code Coverage | |
---|---|---|
Master | ||
Developm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runtime: python27 | |
api_version: 1 | |
threadsafe: yes | |
env_variables: | |
API_KEY: <API key for projects app engine> | |
handlers: | |
- url: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
# Install node packages | |
- name: 'gcr.io/cloud-builders/npm' | |
args: [ 'install' ] | |
# Build productive files | |
- name: 'gcr.io/cloud-builders/npm' | |
args: [ 'run', 'build', '--prod' ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* MIT License | |
* | |
* Copyright (c) 2017 Felix Klauke | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task codeCoverageReport(type: JacocoReport) { | |
executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec") | |
// Add all relevant sourcesets from the subprojects | |
subprojects.each { | |
sourceSets it.sourceSets.main | |
} | |
reports { | |
xml.enabled = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java' | |
} | |
group 'de.d3adspace' | |
version '1.0-SNAPSHOT' | |
allprojects { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java' | |
} | |
group 'de.d3adspace' | |
version '1.0-SNAPSHOT' | |
allprojects { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public synchronized void close() | |
{ | |
if ( state.compareAndSet(State.STARTING, State.CLOSED) || state.compareAndSet(State.STARTED, State.CLOSED) ) | |
{ | |
try | |
{ | |
if (newLifecycleManager != null) { | |
newLifecycleManager.notifyShutdown(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.d3adspace.jessica.spigot.permission.file; | |
import com.google.common.collect.Lists; | |
import com.google.common.collect.Maps; | |
import de.d3adspace.jessica.core.exception.GroupNotFoundException; | |
import de.d3adspace.jessica.core.permission.PermissionsManager; | |
import de.d3adspace.jessica.core.permission.group.PermissionsGroup; | |
import de.d3adspace.jessica.core.permission.user.PermissionsUser; | |
import de.d3adspace.jessica.spigot.permission.AbstractPermissionsManager; | |
import de.d3adspace.jessica.spigot.permission.file.model.group.PermissionsGroupModel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onLoad() { | |
saveDefaultConfig(); | |
// Register classes for serialization, aliases are handled via annotation | |
ConfigurationSerialization.registerClass(PermissionsGroupModel.class); | |
ConfigurationSerialization.registerClass(PermissionsUserModel.class); | |
} |
NewerOlder