Skip to content

Commit

Permalink
First Build
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed Dec 11, 2024
1 parent e8a5057 commit ecb4030
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.framework filter=lfs diff=lfs merge=lfs -text
22 changes: 18 additions & 4 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
Copyright (c) 2020
MIT License

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Copyright (c) 2020 Corona Labs Inc.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
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
furnished to do so, subject to the following conditions:

The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. This notice may not be removed or altered from any source distribution.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
33 changes: 12 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
# Plugin template

To make it work for Solar2D plugins directory add your plugin content into the plugins directory. Then in revision, which is minimum requirement to run the plugin. Repository name must me `com.publisher.name-plugin.name` as it would be in build settings `["plugin.name"] = { publisherId = "com.publisher.name"}`.

For example, `mkdir -p plugins/2020.2600/<platform>a`.


Example platforms are:
* `android-kindle` will use `android` if not found
* `android` any android platform
* `macos` only desktop build
* `mac-sim` desktop build or simulator
* `win32` only desktop build
* `win32-sim` desktop build or simulator
* `web` for html5 builds
* `html5` same as `web`
* `iphone` iOS device
* `iphone-sim` iOS simulator
* `tvos` AppleTV device
* `tvos-sim` Apple TV simulator
* `lua` used if no other applicable platform found
Sources for the plugin `plugin.appodeal.Amazon`.

Add following to your `build.settings` to use:
```lua
{
plugins = {
"plugin.appodeal.Amazon" = {
publisherId = "com.coronalabs",
},
},
}
```
3 changes: 3 additions & 0 deletions plugins/2018.3326/android/corona.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies {
implementation 'com.appodeal.ads.sdk.networks:pangle:3.4.0.0'
}
Binary file not shown.
12 changes: 12 additions & 0 deletions plugins/2018.3326/iphone-sim/metadata.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
local metadata =
{
plugin =
{
format = 'staticLibrary',
staticLibs = { 'APDPangleAdapter', },
frameworks = { 'PAGAdSDK', },
frameworksOptional = {},
},
}

return metadata
Binary file added plugins/2018.3326/iphone/libAPDPangleAdapter.a
Binary file not shown.
12 changes: 12 additions & 0 deletions plugins/2018.3326/iphone/metadata.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
local metadata =
{
plugin =
{
format = 'staticLibrary',
staticLibs = { 'APDPangleAdapter', },
frameworks = { 'PAGAdSDK', },
frameworksOptional = {},
},
}

return metadata

0 comments on commit ecb4030

Please sign in to comment.