Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

導入方法

Propromp edited this page Aug 24, 2021 · 4 revisions

Gradle

plugins {
  id 'com.github.johnrengelman.shadow' version '6.0.0'
}
repositories {
  maven { url="jitpack.io }
}
dependencies {
  implementation 'com.github.propromp:ProfessionalCommandFramework:3.0'
}
compileJava.options.compilerArgs.add("-parameters")
compileKotlin.kotlinOptions.javaParameters=true

Gradle kts

plugins {
  id 'com.github.johnrengelman.shadow' version '6.0.0'
}
repositories {
  maven { url="jitpack.io }
}
dependencies {
  implementation 'com.github.propromp:ProfessionalCommandFramework:3.0'
}
compileJava.options.compilerArgs.add("-parameters")
compileKotlin.kotlinOptions.javaParameters=true

Maven

<repositories>
  <repository>
     <id>jitpack</id>
     <url>https://jitpack.io/</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.github.propromp</groupId>
    <artifactId>ProfessionalCommandFramework</artifactId>
    <version>latest version</version>
    <scope>system</scope>
  </dependency>
</dependencies>

<plugins>
  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-shade-plugin</artifactId>
    <version>3.2.1</version>
    <configuration>
      <createDependencyReducedPom>false</createDependencyReducedPom>
    </configuration>
    <executions>
      <execution>
        <phase>package</phase>
        <goals>
          <goal>shade</goal>
        </goals>
      </execution>
    </executions>
  </plugin>
</plugins>
Clone this wiki locally