-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
LIUWEI
committed
Aug 7, 2023
1 parent
d7bd1df
commit a6dc6b4
Showing
9 changed files
with
115 additions
and
6 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Because the components are created only during the afterEvaluate phase, you must | ||
// configure your publications using the afterEvaluate() lifecycle method. | ||
afterEvaluate { | ||
publishing { | ||
publications { | ||
// Creates a Maven publication called "release". | ||
release(MavenPublication) { | ||
// Applies the component for the release build variant. | ||
from components.release | ||
// You can then customize attributes of the publication as shown below. | ||
groupId = GROUP | ||
artifactId = 'core' | ||
version = VERSION_RELEASE | ||
} | ||
// Creates a Maven publication called “debug”. | ||
debug(MavenPublication) { | ||
// Applies the component for the debug build variant. | ||
from components.debug | ||
groupId = GROUP | ||
artifactId = 'core' | ||
version = VERSION_DEBUG | ||
} | ||
} | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Because the components are created only during the afterEvaluate phase, you must | ||
// configure your publications using the afterEvaluate() lifecycle method. | ||
afterEvaluate { | ||
publishing { | ||
publications { | ||
// Creates a Maven publication called "release". | ||
release(MavenPublication) { | ||
// Applies the component for the release build variant. | ||
from components.release | ||
// You can then customize attributes of the publication as shown below. | ||
groupId = GROUP | ||
artifactId = 'dmc' | ||
version = VERSION_RELEASE | ||
} | ||
// Creates a Maven publication called “debug”. | ||
debug(MavenPublication) { | ||
// Applies the component for the debug build variant. | ||
from components.debug | ||
groupId = GROUP | ||
artifactId = 'dmc' | ||
version = VERSION_DEBUG | ||
} | ||
} | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Because the components are created only during the afterEvaluate phase, you must | ||
// configure your publications using the afterEvaluate() lifecycle method. | ||
afterEvaluate { | ||
publishing { | ||
publications { | ||
// Creates a Maven publication called "release". | ||
release(MavenPublication) { | ||
// Applies the component for the release build variant. | ||
from components.release | ||
// You can then customize attributes of the publication as shown below. | ||
groupId = GROUP | ||
artifactId = 'dmr' | ||
version = VERSION_RELEASE | ||
} | ||
// Creates a Maven publication called “debug”. | ||
debug(MavenPublication) { | ||
// Applies the component for the debug build variant. | ||
from components.debug | ||
groupId = GROUP | ||
artifactId = 'dmr' | ||
version = VERSION_DEBUG | ||
} | ||
} | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Because the components are created only during the afterEvaluate phase, you must | ||
// configure your publications using the afterEvaluate() lifecycle method. | ||
afterEvaluate { | ||
publishing { | ||
publications { | ||
// Creates a Maven publication called "release". | ||
release(MavenPublication) { | ||
// Applies the component for the release build variant. | ||
from components.release | ||
// You can then customize attributes of the publication as shown below. | ||
groupId = GROUP | ||
artifactId = 'dms' | ||
version = VERSION_RELEASE | ||
} | ||
// Creates a Maven publication called “debug”. | ||
debug(MavenPublication) { | ||
// Applies the component for the debug build variant. | ||
from components.debug | ||
groupId = GROUP | ||
artifactId = 'dms' | ||
version = VERSION_DEBUG | ||
} | ||
} | ||
} | ||
} |
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