Skip to content

Commit

Permalink
Fix Gradle Plugin Implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yazan98 committed Feb 5, 2022
1 parent c1af0ba commit 35dcc74
Show file tree
Hide file tree
Showing 64 changed files with 6,949 additions and 5 deletions.
2 changes: 2 additions & 0 deletions vortex-dependencies-plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default ignored files
/workspace.xml
6 changes: 6 additions & 0 deletions vortex-dependencies-plugin/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions vortex-dependencies-plugin/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion vortex-dependencies-plugin/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions vortex-dependencies-plugin/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 92 additions & 0 deletions vortex-dependencies-plugin/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 99 additions & 0 deletions vortex-dependencies-plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Gradle plugin project to get you started.
* For more details take a look at the Writing Custom Plugins chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.0.1/userguide/custom_plugins.html
*/

plugins {
id "com.gradle.plugin-publish" version "0.11.0"
id "java-gradle-plugin"
id 'java'
id 'idea'
id 'groovy'
}

group = "io.vortex.gradle.plugin.dependencies"
version = "1.1.0"

repositories {
// Use jcenter for resolving dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}

dependencies {
// Use the awesome Spock testing and specification framework
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
}

// Add a source set for the functional test suite
sourceSets {
functionalTest {
}
}

gradlePlugin.testSourceSets(sourceSets.functionalTest)
configurations.functionalTestImplementation.extendsFrom(configurations.testImplementation)

// Add a task to run the functionalimplementationClass tests
task functionalTest(type: Test) {
testClassesDirs = sourceSets.functionalTest.output.classesDirs
classpath = sourceSets.functionalTest.runtimeClasspath
}

check {
// Run the functional tests as part of `check`
dependsOn(tasks.functionalTest)
}


compileGroovy {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}


def javaApiUrl = 'http://docs.oracle.com/javase/1.7.0/docs/api/'
def groovyApiUrl = 'http://groovy.codehaus.org/gapi/'
tasks.withType(Javadoc) {
options.links(javaApiUrl, groovyApiUrl)
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from 'build/docs/javadoc'
}

task sourcesJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}


gradlePlugin {
plugins {
greetingsPlugin {
id = 'io.vortex.gradle.plugin'
implementationClass = 'io.vortex.gradle.plugin.dependencies.VortexDependenciesPlugin'
}
}
}

// The configuration example below shows the minimum required properties
// configured to publish your plugin to the plugin portal
pluginBundle {
website = 'https://www.yazantarifi.com'
vcsUrl = 'https://github.com/Yazan98/Vortex'
description = 'Android Infrastructure'
tags = ['baseCode', 'android', 'Android Utilities', 'dependencies']

plugins {
greetingsPlugin {
id = 'io.vortex.gradle.plugin.dependencies'
displayName = 'VortexPlugin'
description = 'Android Infrastructure Dependencies'
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>All Classes</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

</head>
<body class="left">
<h1 class="bar">All Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="io/vortex/gradle/plugin/dependencies/VortexDependencies.html" title="class in io.vortex.gradle.plugin.dependencies" target="classFrame">VortexDependencies</a></li>
<li><a href="io/vortex/gradle/plugin/dependencies/VortexDependenciesPlugin.html" title="class in io.vortex.gradle.plugin.dependencies" target="classFrame">VortexDependenciesPlugin</a></li>
<li><a href="io/vortex/gradle/plugin/dependencies/VortexDependenciesPlugin.1.html" title="class in io.vortex.gradle.plugin.dependencies.VortexDependenciesPlugin" target="classFrame">VortexDependenciesPlugin.1</a></li>
<li><a href="io/vortex/gradle/plugin/dependencies/VortexDependenciesPlugin.2.html" title="class in io.vortex.gradle.plugin.dependencies.VortexDependenciesPlugin" target="classFrame">VortexDependenciesPlugin.2</a></li>
<li><a href="io/vortex/gradle/plugin/dependencies/VortexDependenciesPlugin.3.html" title="class in io.vortex.gradle.plugin.dependencies.VortexDependenciesPlugin" target="classFrame">VortexDependenciesPlugin.3</a></li>
<li><a href="io/vortex/gradle/plugin/dependencies/VortexExtentionPlugin.html" title="class in io.vortex.gradle.plugin.dependencies" target="classFrame">VortexExtentionPlugin</a></li>
<li><a href="io/vortex/gradle/plugin/dependencies/VortexPluginImpl.html" title="interface in io.vortex.gradle.plugin.dependencies" target="classFrame"><I>VortexPluginImpl</I></a></li>

</ul>
</div>
</body>
</html>
Loading

0 comments on commit 35dcc74

Please sign in to comment.