Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
Add building to dnbundle
Browse files Browse the repository at this point in the history
  • Loading branch information
MWGuy committed May 16, 2019
1 parent c32639c commit 955ea4a
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
14 changes: 13 additions & 1 deletion package.php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,20 @@ plugins:
deps:
jphp-runtime: "*"

devDeps:
dn-bundle-plugin: '*'

doc:
url-prefix: https://github.com/VenityStudio/java-reflection-ext/blob/master/api-docs/
langs:
en: English
ru: Русский
ru: Русский

develnext-bundle:
version: 1.1.1
name: "Java Reflection API"
author: "Venity Studio"
icon: "develnext/bundle/reflection/icon32.png"
description: "Пакет для работы с Java Reflection"
group: "system"
class: "develnext\\bundle\\reflection\\JavaReflectionBundle"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions src-bundle/develnext/bundle/reflection/JavaReflectionBundle.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

namespace develnext\bundle\reflection;

use ide\bundle\AbstractBundle;
use ide\bundle\AbstractJarBundle;
use ide\formats\ScriptModuleFormat;
use ide\Ide;
use ide\library\IdeLibraryBundleResource;
use ide\project\Project;
use php\io\File;
use php\desktop\Runtime;

class JavaReflectionBundle extends AbstractJarBundle
{
public function onAdd(Project $project, AbstractBundle $owner = null)
{
parent::onAdd($project, $owner);

Ide::get()->getMainForm()->toast("Android Development coming soon ...");
}

public function onRemove(Project $project, AbstractBundle $owner = null){
parent::onRemove($project, $owner);
}

public function onRegister(IdeLibraryBundleResource $resource){
parent::onRegister($resource);
}
}

0 comments on commit 955ea4a

Please sign in to comment.