diff --git a/build.gradle.kts b/build.gradle.kts
index effcc0e..2e0afd2 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -47,6 +47,15 @@ tasks {
 		archiveClassifier.set("sources")
 		from(sourceSets.main.get().allSource)
 	}
+
+	jar {
+		manifest {
+			attributes(
+				"Automatic-Module-Name" to "ru.dbotthepony.kommons",
+				"FMLModType" to "LIBRARY"
+			)
+		}
+	}
 }
 
 version = projectVersion
@@ -72,6 +81,15 @@ subprojects {
 			archiveClassifier.set("sources")
 			from(sourceSets.main.get().allSource)
 		}
+
+		jar {
+			manifest {
+				attributes(
+					"Automatic-Module-Name" to "ru.dbotthepony.kommons",
+					"FMLModType" to "LIBRARY"
+				)
+			}
+		}
 	}
 
 	kotlin {
diff --git a/gradle.properties b/gradle.properties
index a04962d..7d8a742 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -4,7 +4,7 @@ kotlin.code.style=official
 specifyKotlinAsDependency=false
 
 projectGroup=ru.dbotthepony.kommons
-projectVersion=3.1.0
+projectVersion=3.1.1
 
 guavaDepVersion=33.0.0
 gsonDepVersion=2.8.9